#ifndef _NTWMI_H
/**
* The WmiQueryAllDataA function returns all WMI data blocks that implement a given WMI class (ANSI).
*
* \param DataBlockHandle Handle to a WMI data block object.
* \param BufferLength Pointer to a memory location that specifies the size of the buffer.
* \param Buffer Pointer to the buffer where the routine returns the WMI data.
* \return ULONG Successful or errant status.
*/
NTSYSAPI
ULONG
NTAPI
WmiQueryAllDataA(
_In_ HANDLE DataBlockHandle,
_Inout_ PULONG BufferLength,
_Out_writes_bytes_opt_(*BufferLength) PVOID Buffer
);
View code on GitHubNo description available.