// d3dkmthk.h
PDXGK_SET_SHARED_POWER_COMPONENT_STATE PdxgkSetSharedPowerComponentState;
NTSTATUS PdxgkSetSharedPowerComponentState(
PVOID DeviceHandle,
PVOID PrivateHandle,
ULONG ComponentIndex,
BOOLEAN Active
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A callback to indicate whether the specified power component is active.
DeviceHandleAn opaque handle which should be provided when making callbacks to the graphics device.
PrivateHandleAn opaque handle which will be provided in any callbacks. This handle must be globally unique, therefore, a pointer to the calling driver’s PDO or FDO should be used.
ComponentIndexThe index of the component. Generally, this will be the index used by the graphics adapter. The exception is for LDA scenarios, where the HIWORD of the ComponentIndex indicates the adapter index, as is done when the graphics driver is called by graphics kernel for F-state changes in LDA scenarios.
ActiveSpecifies whether the shared power component state is active.
Return STATUS_SUCCESS if the call succeeds.