Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function is intended for internal use only.
The KoDeviceInitialize function adds a kernel COM create-item entry to the specified device object.
Syntax
COMDDKAPI NTSTATUS KoDeviceInitialize(
[in] PDEVICE_OBJECT DeviceObject
);
Parameters
[in] DeviceObject
Pointer to a device object. The device object is assumed to contain a KSOBJECT_HEADER in its device extension.
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 |