1 /* rapi.h - main header file for the RAPI API
3 NOTE: This strictly does not belong in the Win32 API since it's
4 really part of Platform SDK.
11 #pragma GCC system_header
14 typedef struct IRAPIStream
16 struct IRAPIStreamVtbl
* lpVtbl
;
19 typedef struct IRAPIStreamVtbl IRAPIStreamVtbl
;
21 typedef enum tagRAPISTREAMFLAG
26 struct IRAPIStreamVtbl
28 HRESULT (__stdcall
* SetRapiStat
)( IRAPIStream
*, RAPISTREAMFLAG
, DWORD
);
29 HRESULT (__stdcall
* GetRapiStat
)( IRAPIStream
*, RAPISTREAMFLAG
, DWORD
*);
32 typedef HRESULT (STDAPICALLTYPE RAPIEXT
)(DWORD
, BYTE
, DWORD
, BYTE
, IRAPIStream
*);
34 typedef struct _RAPIINIT
41 STDAPI
CeRapiInit (void);
42 STDAPI
CeRapiInitEx (RAPIINIT
*);
43 STDAPI_(BOOL
) CeCreateProcess (LPCWSTR
, LPCWSTR
, LPSECURITY_ATTRIBUTES
, LPSECURITY_ATTRIBUTES
,
44 BOOL
, DWORD
, LPVOID
, LPWSTR
, LPSTARTUPINFO
, LPPROCESS_INFORMATION
);
45 STDAPI
CeRapiUninit (void);
47 STDAPI_(BOOL
) CeWriteFile (HANDLE
, LPCVOID
, DWORD
, LPDWORD
, LPOVERLAPPED
);
48 STDAPI_(HANDLE
) CeCreateFile (LPCWSTR
, DWORD
, DWORD
, LPSECURITY_ATTRIBUTES
, DWORD
, DWORD
, HANDLE
);
49 STDAPI_(BOOL
) CeCreateDirectory (LPCWSTR
, LPSECURITY_ATTRIBUTES
);
50 STDAPI_(DWORD
) CeGetLastError (void);
51 STDAPI_(BOOL
) CeGetFileTime (HANDLE
, LPFILETIME
, LPFILETIME
, LPFILETIME
);
52 STDAPI_(BOOL
) CeCloseHandle (HANDLE
);