CCmdTarget::GetDispatchIID
The document is archived and information here might be outdated

CCmdTarget::GetDispatchIID

Gets the primary dispatch interface ID.

virtual BOOL GetDispatchIID( 
   IID* pIID  
);

pIID

A pointer to an interface ID (a GUID).

TRUE if successful, otherwise FALSE. If successful, *pIID is set to the primary dispatch interface ID.

Derived classes should override this member function (if not overridden, GetDispatchIID returns FALSE). See COleControl.

For more information, see Knowledge Base article Q185720, "HOWTO: Provide Type Information From an MFC Automation Server." Knowledge Base articles are available in the MSDN Library Visual Studio documentation or at http://support.microsoft.com.

Header: afxwin.h

Show:
© 2016 Microsoft