IMPLEMENT_OLETYPELIB

 

Implements the control's GetTypeLib member function.

Syntax

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

MFC Macros and Globals
DECLARE_OLETYPELIB