StringFromIID

Converts an interface identifier into a string of printable characters.

WINOLEAPI StringFromIID(

REFIID rclsid

//Interface identifier to be converted

LPOLESTR * lplpsz

//Indirect pointer to the resulting string

);

Parameters

rclsid
[in] Interface identifier to be converted.
lplpsz
[out] Indirect pointer to the resulting string on return.

Return Values

This function supports the standard return value E_OUTOFMEMORY; as well as the following:

S_OK
The character string was successfully returned.

Remarks

The string returned by the function is freed in the standard way, using the task allocator (refer to the CoGetMallocfunction).

See Also

IIDFromString, CoGetMalloc