DXGK_TIMED_OPERATION_INTERFACE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dispmprt.h

typedef struct _DXGK_TIMED_OPERATION_INTERFACE {
  USHORT                 Size;
  USHORT                 Version;
  PVOID                  Context;
  PINTERFACE_REFERENCE   InterfaceReference;
  PINTERFACE_DEREFERENCE InterfaceDereference;
  NTSTATUS((DXGK_TIMED_OPERATION *Op, const LARGE_INTEGER *Timeout,BOOLEAN OsHandled)              * )TimedOperationStart;
  NTSTATUS((DXGK_TIMED_OPERATION *Op,KPROCESSOR_MODE WaitMode,BOOLEAN Alertable, const LARGE_INTEGER *Interval)              * )TimedOperationDelay;
  NTSTATUS((DXGK_TIMED_OPERATION *Op,PVOID Object,KWAIT_REASON WaitReason,KPROCESSOR_MODE WaitMode,BOOLEAN Alertable, const LARGE_INTEGER *Timeout)              * )TimedOperationWaitForSingleObject;
} DXGK_TIMED_OPERATION_INTERFACE, *PDXGK_TIMED_OPERATION_INTERFACE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-dispmprt-_dxgk_timed_operation_interface)

DXGK_TIMED_OPERATION_INTERFACE structure

Description

The DXGK_TIMED_OPERATION_INTERFACE structure contains pointers to functions in the Timed Operation Interface, which is implemented by the display port driver.

Members

Size

The size, in bytes, of this structure.

Version

The version number of the Timed Operation Interface. Version number constants are defined in Dispmprt.h (for example, DXGK_TIMED_OPERATION_INTERFACE_VERSION_1).

Context

A pointer to a context that is provided by the display port driver.

InterfaceReference

A pointer to an interface reference function that is implemented by the display port driver.

InterfaceDereference

A pointer to an interface dereference function that is implemented by the display port driver.

TimedOperationStart

The TimedOperationStart function starts or restarts a timed operation.

The driver should preset the Size member of the DXGK_TIMED_OPERATION structure that is pointed to by the Op parameter to sizeof(DXGK_TIMED_OPERATION). Parameter descriptions for TimedOperationStart follow.

TimedOperationDelay

The TimedOperationDelay function puts the current thread into an alertable or nonalertable wait state for a given interval with regard to the given timed operation time-out. Parameter descriptions for TimedOperationDelay follow.

TimedOperationWaitForSingleObject

The TimedOperationWaitForSingleObject function puts the current thread into a wait state until the given dispatcher object is set to a signaled state or optionally until the wait times out or until the time-out of the given timed operation expires. Parameter descriptions for TimedOperationWaitForSingleObject follow.

Remarks

The display miniport driver supplies the Size and Version members of this structure, and then calls DxgkCbQueryServices, which fills in the remaining members of this structure.

See also

DXGK_TIMED_OPERATION

DxgkCbQueryServices