// d3dkmddi.h
DXGKDDI_MONITORDESCRIPTORSET_RELEASEDESCRIPTORINFO DxgkddiMonitordescriptorsetReleasedescriptorinfo;
NTSTATUS DxgkddiMonitordescriptorsetReleasedescriptorinfo(
IN_CONST_D3DKMDT_HMONITORDESCRIPTORSET hMonitorDescriptorSet,
IN_CONST_PD3DKMDT_MONITOR_DESCRIPTOR_CONST pMonitorDescriptorInfo
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnReleaseDescriptorInfo function releases a D3DKMDT_MONITOR_DESCRIPTOR structure that the VidPN manager previously provided to the display miniport driver.
hMonitorDescriptorSetA handle to a monitor descriptor set object. The display miniport driver previously obtained this handle by calling the pfnGetMonitorDescriptorSet function of the Monitor interface.
pMonitorDescriptorInfoA pointer to the D3DKMDT_MONITOR_DESCRIPTOR structure to be released.
The pfnReleaseDescriptorInfo function returns one of the following values.
| Return code | Description |
|---|---|
| STATUS_SUCCESS | The function succeeded. |
| STATUS_INVALID_MONITOR_DESCRIPTOR | The descriptor supplied in pMonitorDescriptorInfo was invalid. |
| STATUS_GRAPHICS_INVALID_MONITOR_DESCRIPTORSET | The handle supplied in hMonitorDescriptorSet was invalid. |
When you have finished using a D3DKMDT_MONITOR_DESCRIPTOR structure that you obtained by calling pfnAcquireFirstDescriptorInfo or pfnAcquireNextDescriptorInfo, you must release it by calling pfnReleaseDescriptorInfo.