ReactOS  0.4.15-dev-3456-g4a17d4b
fxpkgpnpkm.cpp File Reference
#include "../pnppriv.hpp"
#include <initguid.h>
#include <wdmguid.h>
Include dependency graph for fxpkgpnpkm.cpp:

Go to the source code of this file.

Functions

VOID PnpPassThroughQIWorker (__in MxDeviceObject *Device, __inout FxIrp *Irp, __inout FxIrp *ForwardIrp)
 

Function Documentation

◆ PnpPassThroughQIWorker()

VOID PnpPassThroughQIWorker ( __in MxDeviceObject Device,
__inout FxIrp Irp,
__inout FxIrp ForwardIrp 
)

Definition at line 498 of file fxpkgpnpkm.cpp.

503 {
504  PIO_STACK_LOCATION pFwdStack, pCurStack;
505 
506  pCurStack = Irp->GetCurrentIrpStackLocation();
507 
508  ForwardIrp->SetStatus(STATUS_NOT_SUPPORTED);
509 
510  pFwdStack = ForwardIrp->GetNextIrpStackLocation();
511  pFwdStack->MajorFunction = Irp->GetMajorFunction();
512  pFwdStack->MinorFunction = Irp->GetMinorFunction();
513 
515  &pCurStack->Parameters.QueryInterface,
516  sizeof(pFwdStack->Parameters.QueryInterface));
517 
518  ForwardIrp->SetInformation(Irp->GetInformation());
519  ForwardIrp->SendIrpSynchronously(Device->GetObject());
520 
521  pFwdStack = ForwardIrp->GetNextIrpStackLocation();
522 
524  &pFwdStack->Parameters.QueryInterface,
525  sizeof(pCurStack->Parameters.QueryInterface));
526 }
return STATUS_NOT_SUPPORTED
_In_ PIRP Irp
Definition: csq.h:116
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
#define RtlCopyMemory(Destination, Source, Length)
Definition: typedefs.h:263
struct _NAMED_PIPE_CREATE_PARAMETERS * Parameters
Definition: iotypes.h:3128

Referenced by PnpPassThroughQI().