StringFromIID function
Applies to: desktop apps | Metro style apps
Converts an interface identifier into a string of printable characters.
Syntax
HRESULT StringFromIID( __in REFIID rclsid, __out LPOLESTR *lplpsz );
Parameters
- rclsid [in]
-
The interface identifier to be converted.
- lplpsz [out]
-
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
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012