Go to the source code of this file.
◆ __drv_maxIRQL()
Definition at line 362 of file fxwmiinstance.cpp.
372 if (m_UseContextForQuery) {
385 "WDFWMIINSTANCE %p query instance using context for query, " 386 "query buffer length %d, context length %d, %!STATUS!",
393 &GetContextHeader()->
Context[0],
397 else if (m_QueryInstanceCallback.m_Method !=
NULL) {
401 ASSERT(m_Provider->GetMinInstanceBufferSize() == 0);
406 status = m_QueryInstanceCallback.Invoke(
417 "WDFWMIINSTANCE %p was queried and returned %!STATUS!, which is " 433 "WDFWMIINSTANCE %p was queried with buffer size %d, " 434 " but returned %d bytes and %!STATUS!, should return " 435 "!NT_SUCCESS in this case",
452 if (m_Provider->GetMinInstanceBufferSize()) {
455 "WDFWMIINSTANCE %p returned %!STATUS!, but it specified " 456 "a minimum instance size %d in its WDFWMIPROVIDER %p",
458 m_Provider->GetHandle());
461 "This is a break in the contract. Minimum instance size " 462 "should only be used for fixed sized instances");
469 ASSERT(m_ExecuteMethodCallback.m_Method !=
NULL);
473 "WDFWMIINSTANCE %p was queried with no query callback and supports " 474 "execute method (%p), zero bytes returned",
GetHandle(),
475 m_ExecuteMethodCallback.m_Method);
_In_ ULONG _Out_ PULONG BufferUsed
_In_ UCHAR _In_ ULONG _Out_ PUCHAR _Outptr_result_bytebuffer_ OutBufferLength PVOID * OutBuffer
#define STATUS_BUFFER_TOO_SMALL
#define NT_SUCCESS(StatCode)
#define STATUS_UNSUCCESSFUL
#define TRACE_LEVEL_ERROR
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
#define RtlCopyMemory(Destination, Source, Length)
static SERVICE_STATUS status
FxVerifierDbgBreakPoint(pFxDriverGlobals)