Index   Commented   Search   About

StringFromIID

Converts an interface ID into a string of printable characters.

HRESULT StringFromIID(

REFIID rclsid
//The interface ID to be converted
LPOLESTR * lplpsz
//Receives a pointer to the resulting string on return
);

Parameters

rclsid

Specifies the interface ID to be converted.

lplpsz

Receives a pointer to the resulting string on return.

Return Values

S_OK

Indicates the character string was successfully returned.

E_OUTOFMEMORY

Out of memory.

Comments

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

See Also

IIDFromString, CoGetMalloc

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