mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00:00
[USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
This commit is contained in:
parent
f65034e760
commit
c2d0d784c7
20461 changed files with 0 additions and 1213965 deletions
51
include/psdk/rapi.h
Normal file
51
include/psdk/rapi.h
Normal file
|
@ -0,0 +1,51 @@
|
|||
/* rapi.h - main header file for the RAPI API
|
||||
|
||||
NOTE: This strictly does not belong in the Win32 API since it's
|
||||
really part of Platform SDK.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef _RAPI_H
|
||||
#define _RAPI_H
|
||||
|
||||
typedef struct IRAPIStream
|
||||
{
|
||||
struct IRAPIStreamVtbl * lpVtbl;
|
||||
} IRAPIStream;
|
||||
|
||||
typedef struct IRAPIStreamVtbl IRAPIStreamVtbl;
|
||||
|
||||
typedef enum tagRAPISTREAMFLAG
|
||||
{
|
||||
STREAM_TIMEOUT_READ
|
||||
} RAPISTREAMFLAG;
|
||||
|
||||
struct IRAPIStreamVtbl
|
||||
{
|
||||
HRESULT (__stdcall * SetRapiStat)( IRAPIStream *, RAPISTREAMFLAG, DWORD);
|
||||
HRESULT (__stdcall * GetRapiStat)( IRAPIStream *, RAPISTREAMFLAG, DWORD *);
|
||||
};
|
||||
|
||||
typedef HRESULT (STDAPICALLTYPE RAPIEXT)(DWORD, BYTE, DWORD, BYTE, IRAPIStream *);
|
||||
|
||||
typedef struct _RAPIINIT
|
||||
{
|
||||
DWORD cbSize;
|
||||
HANDLE heRapiInit;
|
||||
HRESULT hrRapiInit;
|
||||
} RAPIINIT;
|
||||
|
||||
STDAPI CeRapiInit (void);
|
||||
STDAPI CeRapiInitEx (RAPIINIT*);
|
||||
STDAPI_(BOOL) CeCreateProcess (LPCWSTR, LPCWSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES,
|
||||
BOOL, DWORD, LPVOID, LPWSTR, LPSTARTUPINFO, LPPROCESS_INFORMATION);
|
||||
STDAPI CeRapiUninit (void);
|
||||
|
||||
STDAPI_(BOOL) CeWriteFile (HANDLE, LPCVOID, DWORD, LPDWORD, LPOVERLAPPED);
|
||||
STDAPI_(HANDLE) CeCreateFile (LPCWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE);
|
||||
STDAPI_(BOOL) CeCreateDirectory (LPCWSTR, LPSECURITY_ATTRIBUTES);
|
||||
STDAPI_(DWORD) CeGetLastError (void);
|
||||
STDAPI_(BOOL) CeGetFileTime (HANDLE, LPFILETIME, LPFILETIME, LPFILETIME);
|
||||
STDAPI_(BOOL) CeCloseHandle (HANDLE);
|
||||
|
||||
#endif /* _RAPI_H */
|
Loading…
Add table
Add a link
Reference in a new issue