Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CCmdTarget::GetTypeInfoCount

CCmdTarget::GetTypeInfoCount

Retrieves the number of type information interfaces that an object provides.

virtual UINT GetTypeInfoCount( );

The number of type information interfaces.

This member function basically implements IDispatch::GetTypeInfoCount Method.

Derived classes should override this function to return the number of type information interfaces provided (either 0 or 1). If not overridden, GetTypeInfoCount returns 0. To override, use the IMPLEMENT_OLETYPELIB macro, which also implements GetTypeLib and GetTypeLibCache.

Header: afxwin.h

Show:
© 2015 Microsoft