IIDFromString

Converts a string generated by the StringFromIID function back into the original interface identifier (IID).

WINOLEAPI IIDFromString(

LPOLESTR lpsz,

//Pointer to the string representation of the IID

LPIID lpiid

//Pointer to the requested IID on return

);

Parameters

lpsz
[in] Pointer to the string representation of the IID.
lpiid
[out] Pointer to the requested IID on return.

Return Values

This function supports the standard return values E_INVALIDARG and E_OUTOFMEMORY, as well as the following:

S_OK
The string was successfully converted.

Remarks

The function converts the interface identifier in a way that guarantees different interface identifiers will always be converted to different strings.

See Also

StringFromIID