The DrvQueryDriverInfo function returns requested driver-specific information.
BOOL DrvQueryDriverInfo( DWORD dwMode, _Out_ PVOID pBuffer, DWORD cbBuf, _Out_ PDWORD pcbNeeded );
Caller-supplied constant value, as indicated in the following table.
The caller is querying whether the driver executes in user mode or in kernel mode.
- pBuffer [out]
Caller-supplied pointer to a buffer to receive requested information. The function must supply the following information:
dwMode Value pBuffer Size Value supplied by DrvQueryDriverInfo
TRUE if driver executes in user mode; FALSE otherwise.
Caller-supplied value representing the size, in bytes, of the buffer pointed to by pBuffer.
- pcbNeeded [out]
Caller-supplied pointer to a location to receive the minimum buffer size, in bytes, required to contain the requested information.
If the operation succeeds, the function should return TRUE; otherwise it should return FALSE.
Build date: 11/16/2013