Index   Commented   Search   About

IIDFromString

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

HRESULT IIDFromString(

LPOLESTR lpsz,
//Points to the string representation of the IID
LPIID lpiid
//Receives a pointer to the requested IID on return
);

Parameters

lpsz

Points to the string representation of the IID.

lpiid

Receives a pointer to the requested IID on return.

Return Values

S_OK

Indicates that the string was successfully converted.

E_OUTOFMEMORY

Out of memory.

E_INVALIDARG

Indicates that one or more arguments are invalid.

Comments

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

See Also

StringFromIID

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun