KoDeviceInitialize function (kcom.h)
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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for