KoDriverInitialize - NtDoc

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

COMDDKAPI NTSTATUS KoDriverInitialize(
  [in] PDRIVER_OBJECT        DriverObject,
  [in] PUNICODE_STRING       RegistryPathName,
  [in] KoCreateObjectHandler CreateObjectHandler
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-kcom-kodriverinitialize)

KoDriverInitialize function

Description

This function is intended for internal use only.

The KoDriverInitialize function initializes a driver object to handle the kernel streaming interface.

Parameters

DriverObject [in]

Pointer to a driver object to initialize that handles the kernel streaming interface.

RegistryPathName [in]

Pointer to the registry path that is associated with the driver object.

CreateObjectHandler [in]

Pointer to a function used to create new objects.

Return value

Returns STATUS_SUCCESS if successful. Otherwise, it returns a memory allocation error.