KoDriverInitialize function (kcom.h)

This function is intended for internal use only.

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

Syntax

COMDDKAPI NTSTATUS KoDriverInitialize(
  [in] PDRIVER_OBJECT        DriverObject,
  [in] PUNICODE_STRING       RegistryPathName,
  [in] KoCreateObjectHandler CreateObjectHandler
);

Parameters

[in] DriverObject

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

[in] RegistryPathName

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

[in] CreateObjectHandler

Pointer to a function used to create new objects.

Return value

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

Requirements

Requirement Value
Target Platform Universal
Header kcom.h (include Kcom.h)
Library Ks.lib