mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:55:42 +00:00
[RDBSS] Start defining the RxCapture* macros and start using them (to be continued)
This commit is contained in:
parent
b840f65362
commit
2511ba8f8f
2 changed files with 53 additions and 41 deletions
|
@ -6,6 +6,22 @@
|
|||
#define INVALID_HANDLE_VALUE ((HANDLE)-1)
|
||||
#endif
|
||||
|
||||
#ifndef MINIRDR__NAME
|
||||
#define RxCaptureFcb PFCB __C_Fcb = (PFCB)(RxContext->pFcb)
|
||||
#define RxCaptureFobx PFOBX __C_Fobx = (PFOBX)(RxContext->pFobx)
|
||||
#else
|
||||
#define RxCaptureFcb PMRX_FCB __C_Fcb = (RxContext->pFcb)
|
||||
#define RxCaptureFobx PMRX_FOBX __C_Fobx = (RxContext->pFobx)
|
||||
#endif
|
||||
|
||||
#define RxCaptureParamBlock PIO_STACK_LOCATION __C_IrpSp = RxContext->CurrentIrpSp
|
||||
#define RxCaptureFileObject PFILE_OBJECT __C_FileObject = __C_IrpSp-> FileObject
|
||||
|
||||
#define capFcb __C_Fcb
|
||||
#define capFobx __C_Fobx
|
||||
#define capPARAMS __C_IrpSp
|
||||
#define capFileObject __C_FileObject
|
||||
|
||||
#define RxAllocatePoolWithTag ExAllocatePoolWithTag
|
||||
#define RxFreePool ExFreePool
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue