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 [in]

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

RegistryPath [in]

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 [in]

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Dispmprt.h

Library

Displib.lib

IRQL

PASSIVE_LEVEL

See also

DriverEntry of Display Miniport Driver
KMDDOD_INITIALIZATION_DATA
DRIVER_OBJECT
DxgkInitialize
UNICODE_STRING

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft