Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts an interface identifier into a string of printable characters.
Syntax
HRESULT StringFromIID(
[in] REFIID rclsid,
[out] LPOLESTR *lplpsz
);
Parameters
[in] rclsid
The interface identifier to be converted.
[out] lplpsz
The address of a pointer variable that receives a pointer to the resulting string. The string that represents rclsid includes enclosing braces.
Return value
This function can return the standard return values E_OUTOFMEMORY and S_OK.
Remarks
The caller is responsible for freeing the memory allocated for the string by calling the CoTaskMemFree function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | combaseapi.h (include Objbase.h) |
Library | Ole32.lib |
DLL | Ole32.dll |