// dispmprt.h
VP_STATUS DlSetRegistryParameters(
PVOID DeviceHandle,
PWSTR ValueName,
PVOID ValueData,
ULONG ValueLength
);
View the official Windows Driver Kit DDI referenceNo description available.
Writes information under the adapter key in the registry.
DeviceHandleA handle that represents a display adapter.
ValueNamePointer to a buffer containing a null-terminated Unicode string that names the value entry for which data is being written in the registry.
ValueDataPointer to a buffer containing the values to be written for the ValueName entry.
ValueLengthSpecifies the size, in bytes, of the data to be written to the registry.
This function returns VP_STATUS.