Udostępnij za pośrednictwem


CCmdTarget::GetTypeInfoOfGuid

Retrieves the type description that corresponds to the specified GUID.

HRESULT GetTypeInfoOfGuid(
   LCID lcid,
   const GUID& guid,
   LPTYPEINFO* ppTypeInfo 
);

Parameters

  • lcid
    A locale identifier (LCID).

  • guid
    The GUID of the type description.

  • ppTypeInfo
    Pointer to a pointer to the ITypeInfo interface.

Return Value

An HRESULT indicating the success or failure of the call. If successful, *ppTypeInfo points to the type information interface.

Requirements

Header: afxwin.h

See Also

Reference

CCmdTarget Class

Hierarchy Chart

Other Resources

CCmdTarget Members