// dispmprt.h
NTSTATUS DxgkInitializeDisplayOnlyDriver(
[in] PDRIVER_OBJECT DriverObject,
[in] PUNICODE_STRING RegistryPath,
[in] PKMDDOD_INITIALIZATION_DATA KmdDodInitializationData
);
View the official Windows Driver Kit DDI referenceNo description available.
Loads and initializes the DirectX graphics kernel subsystem (Dxgkrnl.sys) for use by a kernel mode display-only driver (KMDOD).
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.
Returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.
All parameters that are supplied by the KMDOD can be in paged memory.
DriverEntry of Display Miniport Driver