Export (0) Print
Expand All

IProvideClassInfo2::GetGUID method

Retrieves the specified GUID for the object.

Syntax


HRESULT GetGUID(
  [in]   DWORD dwGuidKind,
  [out]  GUID *pGUID
);

Parameters

dwGuidKind [in]

The GUID type. Possible values are from the GUIDKIND enumeration.

pGUID [out]

A pointer to a variable that receives the GUID.

Return value

This method can return the standard return values E_INVALIDARG, E_UNEXPECTED, E_POINTER, and S_OK.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IProvideClassInfo2 is defined as A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851

See also

IProvideClassInfo2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft