IHTMLObjectElement::classid Property

Gets the class identifier for the object.

Syntax

HRESULT IHTMLObjectElement::get_classid(BSTR *p);

Parameters

  • p
    Pointer to a variable of type BSTR that receives the class identifier for the object.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The format the classid string is "clsid:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" for registered Microsoft ActiveX Controls.