다음을 통해 공유


StringFromIID (Windows CE 5.0)

Send Feedback

This function converts an interface identifier into a string of printable characters.

WINOLEAPI StringFromIID(REFIIDrclsid,LPOLESTR* lplpsz);

Parameters

  • rclsid
    [in] Interface identifier to be converted.
  • lplpsz
    [out] Address of LPOLESTR pointer variable that receives a pointer to the resulting null-terminated string.

Return Values

S_OK indicates that the character string was successfully returned. The standard return value E_OUTOFMEMORY is also supported.

Remarks

The string returned by the function is freed in the standard way, using the task allocator.

Passing into this function any invalid and, under some circumstances, NULL pointers result in unexpected termination of the application.

To determine whether the platform supports this function, see Determining Supported COM APIs.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Objbase.h.
Link Library: Ole32.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.