IMPLEMENT_OLETYPELIB

Implements the control's GetTypeLib member function.

IMPLEMENT_OLETYPELIB(class_name, tlid, wVerMajor, wVerMinor )

Parameters

  • class_name
    The name of the control class related to the type library.

  • tlid
    The ID number of the type library.

  • wVerMajor
    The type library major version number.

  • wVerMinor
    The type library minor version number.

Remarks

This macro must appear in the implementation file for any control class that uses the DECLARE_OLETYPELIB macro.

Requirements

Header: afxdisp.h

See Also

Reference

DECLARE_OLETYPELIB

Concepts

MFC Macros and Globals