// kcom.h
COMDDKAPI NTSTATUS KoDriverInitialize(
[in] PDRIVER_OBJECT DriverObject,
[in] PUNICODE_STRING RegistryPathName,
[in] KoCreateObjectHandler CreateObjectHandler
);
View the official Windows Driver Kit DDI referenceNo description available.
This function is intended for internal use only.
The KoDriverInitialize function initializes a driver object to handle the kernel streaming interface.
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.
Returns STATUS_SUCCESS if successful. Otherwise, it returns a memory allocation error.