Remove remnants of stale openssl installation
[msysgit.git] / include / rapi.h
blob1bc74db6cfd599a193e368726c2b02353714535f
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.
6 */
8 #ifndef _RAPI_H
9 #define _RAPI_H
11 typedef struct IRAPIStream
13 struct IRAPIStreamVtbl * lpVtbl;
14 } IRAPIStream;
16 typedef struct IRAPIStreamVtbl IRAPIStreamVtbl;
18 typedef enum tagRAPISTREAMFLAG
20 STREAM_TIMEOUT_READ
21 } RAPISTREAMFLAG;
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
33 DWORD cbSize;
34 HANDLE heRapiInit;
35 HRESULT hrRapiInit;
36 } 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);
51 #endif /* _RAPI_H */