ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

rapi.h
Go to the documentation of this file.
00001 /* rapi.h - main header file for the RAPI API
00002 
00003         NOTE: This strictly does not belong in the Win32 API since it's
00004         really part of Platform SDK.
00005 
00006 */
00007 
00008 #ifndef _RAPI_H
00009 #define _RAPI_H
00010 
00011 typedef struct IRAPIStream
00012 {
00013   struct IRAPIStreamVtbl * lpVtbl;
00014 } IRAPIStream;
00015 
00016 typedef struct IRAPIStreamVtbl IRAPIStreamVtbl;
00017 
00018 typedef enum tagRAPISTREAMFLAG
00019 {
00020   STREAM_TIMEOUT_READ
00021 } RAPISTREAMFLAG;
00022 
00023 struct IRAPIStreamVtbl
00024 {
00025   HRESULT (__stdcall * SetRapiStat)( IRAPIStream *, RAPISTREAMFLAG, DWORD);
00026   HRESULT (__stdcall * GetRapiStat)( IRAPIStream *, RAPISTREAMFLAG, DWORD *);
00027 };
00028 
00029 typedef  HRESULT (STDAPICALLTYPE RAPIEXT)(DWORD, BYTE, DWORD, BYTE, IRAPIStream *);
00030 
00031 typedef struct _RAPIINIT
00032 {
00033   DWORD cbSize;
00034   HANDLE heRapiInit;
00035   HRESULT hrRapiInit;
00036 } RAPIINIT;
00037 
00038 STDAPI CeRapiInit (void);
00039 STDAPI CeRapiInitEx (RAPIINIT*);
00040 STDAPI_(BOOL) CeCreateProcess (LPCWSTR, LPCWSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES,
00041                    BOOL, DWORD, LPVOID, LPWSTR, LPSTARTUPINFO, LPPROCESS_INFORMATION);
00042 STDAPI CeRapiUninit (void);
00043 
00044 STDAPI_(BOOL) CeWriteFile (HANDLE, LPCVOID, DWORD, LPDWORD, LPOVERLAPPED);
00045 STDAPI_(HANDLE) CeCreateFile (LPCWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE);
00046 STDAPI_(BOOL) CeCreateDirectory (LPCWSTR, LPSECURITY_ATTRIBUTES);
00047 STDAPI_(DWORD) CeGetLastError (void);
00048 STDAPI_(BOOL) CeGetFileTime (HANDLE, LPFILETIME, LPFILETIME, LPFILETIME);
00049 STDAPI_(BOOL) CeCloseHandle (HANDLE);
00050 
00051 #endif /* _RAPI_H */

Generated on Sat May 26 2012 04:31:00 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.