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 typedef struct IRAPIStream
13 struct IRAPIStreamVtbl
* lpVtbl
;
16 typedef struct IRAPIStreamVtbl IRAPIStreamVtbl
;
18 typedef enum tagRAPISTREAMFLAG
23 struct IRAPIStreamVtbl
25 HRESULT (__stdcall
* SetRapiStat
)( IRAPIStream
*, RAPISTREAMFLAG
, DWORD
);
26 HRESULT (__stdcall
* GetRapiStat
)( IRAPIStream
*, RAPISTREAMFLAG
, DWORD
*);
29 typedef HRESULT (STDAPICALLTYPE RAPIEXT
)(DWORD
, BYTE
, DWORD
, BYTE
, IRAPIStream
*);
31 typedef struct _RAPIINIT
38 STDAPI
CeRapiInit (void);
39 STDAPI
CeRapiInitEx (RAPIINIT
*);
40 STDAPI_(BOOL
) CeCreateProcess (LPCWSTR
, LPCWSTR
, LPSECURITY_ATTRIBUTES
, LPSECURITY_ATTRIBUTES
,
41 BOOL
, DWORD
, LPVOID
, LPWSTR
, LPSTARTUPINFO
, LPPROCESS_INFORMATION
);
42 STDAPI
CeRapiUninit (void);
44 STDAPI_(BOOL
) CeWriteFile (HANDLE
, LPCVOID
, DWORD
, LPDWORD
, LPOVERLAPPED
);
45 STDAPI_(HANDLE
) CeCreateFile (LPCWSTR
, DWORD
, DWORD
, LPSECURITY_ATTRIBUTES
, DWORD
, DWORD
, HANDLE
);
46 STDAPI_(BOOL
) CeCreateDirectory (LPCWSTR
, LPSECURITY_ATTRIBUTES
);
47 STDAPI_(DWORD
) CeGetLastError (void);
48 STDAPI_(BOOL
) CeGetFileTime (HANDLE
, LPFILETIME
, LPFILETIME
, LPFILETIME
);
49 STDAPI_(BOOL
) CeCloseHandle (HANDLE
);