Freigeben über


IMSVidDevice::get_ClassID method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The get_ClassID method retrieves the device's class identifier (CLSID) as a BSTR.

Syntax

HRESULT get_ClassID(
  [out] BSTR *Clsid
);

Parameters

[out] Clsid

Pointer to a variable that receives a string representation of the CLSID.

Return value

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK
Success.
E_POINTER
NULL pointer argument.

Remarks

This method is provided for Automation clients. C++ applications can use the IMSVidDevice::get__ClassID method, which returns a GUID rather than a BSTR.

The caller must free the returned string, using the SysFreeString function.

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidDevice Interface