DxgkInitializeDisplayOnlyDriver function

Loads and initializes the DirectX graphics kernel subsystem (Dxgkrnl.sys) for use by a kernel mode display-only driver (KMDOD).

Syntax

NTSTATUS DxgkInitializeDisplayOnlyDriver(
  _In_ PDRIVER_OBJECT              DriverObject,
  _In_ PUNICODE_STRING             RegistryPath,
  _In_ PKMDDOD_INITIALIZATION_DATA KmdDodInitializationData
);

Parameters

DriverObject

A pointer to a DRIVER_OBJECT structure. The KMDOD previously obtained this pointer in its DriverEntry function.

RegistryPath

A pointer to a UNICODE_STRING structure that supplies the path to the KMDOD's service registry key. The KMDOD previously obtained this pointer in its DriverEntry function.

KmdDodInitializationData

A pointer to a KMDDOD_INITIALIZATION_DATA structure that supplies the DirectX graphics kernel subsystem with pointers to functions implemented by the KMDOD.

Return Value

Returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.

Remarks

All parameters that are supplied by the KMDOD can be in paged memory.

Requirements

   
Windows Driver kit version
Target platform Desktop
Minimum KMDF version
Minimum UMDF version
Header dispmprt.h
Library
IRQL PASSIVE_LEVEL
DDI compliance rules

See Also

DriverEntry of Display Miniport Driver
KMDDOD_INITIALIZATION_DATA
DRIVER_OBJECT
DxgkInitialize
UNICODE_STRING

Send comments about this topic to Microsoft