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 https://support.microsoft.com.
Требования
Header: afxwin.h