Expand Minimize

KoDeviceInitialize function

This function is intended for internal use only.

The KoDeviceInitialize function adds a kernel COM create-item entry to the specified device object.

Syntax


NTSTATUS KoDeviceInitialize(
  _In_  PDEVICE_OBJECT DeviceObject
);

Parameters

DeviceObject [in]

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

Header

Kcom.h (include Kcom.h)

Library

Ks.lib

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft