Windows apps
Collapse the table of content
Expand the table of content

ODL Statements and Directives [Automation]

The following sections describe the statements and directives that make up the Object Description Language (ODL).

ODL Statements and Directives

Description

coclass

This statement describes the globally unique ID (GUID) and the supported interfaces for a Component Object Model (COM).

dispinterface

This statement defines a set of properties and methods on which IDispatch::Invoke can be called.

enum

This statement defines a C-style enumerated type.

importlib

This directive makes types that have already been compiled into another type library available to the library currently being created. All importlib directives must precede the other type descriptions in the library.

Interface

This statement defines an interface, which is a set of function definitions. An interface can inherit from any base interface.

library

This statement describes a type library. This description contains all of the information in a MIDL input file (ODL).

module

This statement defines a group of functions, typically a set of DLL entry points.

struct

This statement defines a C-style structure.

typedef

This statement creates an alias for a type.

union

This statement defines a C-style union.

Show:
© 2017 Microsoft