IKsObject::KsGetObjectHandle method (ksproxy.h)

The KsGetObjectHandle method retrieves a file handle to a KS object.

Syntax

HANDLE KsGetObjectHandle();

Return value

Returns a file handle to a KS object if successful; otherwise, returns null.

Remarks

Applications can use the handle that KsGetObjectHandle returns to send control-code requests to the driver that handles the KS object.

Requirements

Requirement Value
Target Platform DesktopMobile
Header ksproxy.h (include Ksproxy.h)

See also

KsSynchronousDeviceControl