WNODE_TOO_SMALL structure (wmistr.h)
The WNODE_TOO_SMALL structure indicates the size of the buffer needed to receive output from a request.
Syntax
typedef struct tagWNODE_TOO_SMALL {
struct _WNODE_HEADER WnodeHeader;
ULONG SizeNeeded;
} WNODE_TOO_SMALL, *PWNODE_TOO_SMALL;
Members
WnodeHeader
Is a WNODE_HEADER structure that contains information common to all WNODE_XXX structures, such as the buffer size, the GUID that represents a data block associated with a request, and flags that provide information about the WNODE_XXX data being passed or returned.
SizeNeeded
Specifies the size of the buffer needed to receive all of the WNODE_XXX data to be returned.
Remarks
When the buffer for a WMI request is too small to receive all of the data to be returned, a driver fills in a WNODE_TOO_SMALL structure to indicate the required buffer size. WMI can then increase the buffer to the recommended size and issue the request again. A driver is responsible for managing any side effects caused by handling the same request more than once.
Requirements
Requirement | Value |
---|---|
Header | wmistr.h (include Wmistr.h) |