#ifndef _NTWMI_H
/**
* The WmiSetSingleInstanceA routine sets the data for a single instance of a WMI data block (ANSI).
*
* \param DataBlockHandle A handle to a WMI data block.
* \param InstanceName The name of the instance to set.
* \param Reserved Reserved; must be zero.
* \param ValueBufferSize The size of ValueBuffer in bytes.
* \param ValueBuffer A pointer to the buffer containing new instance data.
* \return A Win32 error code. ERROR_SUCCESS on success.
*/
NTSYSAPI
ULONG
NTAPI
WmiSetSingleInstanceA(
_In_ HANDLE DataBlockHandle,
_In_ PCSTR InstanceName,
_In_ ULONG Reserved,
_In_ ULONG ValueBufferSize,
_In_reads_bytes_(ValueBufferSize) PVOID ValueBuffer
);
View code on GitHubNo description available.