[uuid, control [, attribute-list]] library | coclass lib-or-coclassname
{ definitions }
[uuid(. . .),helpstring("Hello 2.1 OLE Control Library"),
control,version(2.1)]
library Hello
{ /* library definitions */}
The control attribute identifies a coclass or library as an OLE control, from which a container site will derive additional type libraries or component object classes. This attribute allows you to mark type libraries that describe controls so they will not be displayed in type browsers intended for nonvisual objects.
TYPEFLAG_FCONTROL, LIBFLAG_FCONTROL
ODL File Syntax, ODL File Example, Generating a Type Library With MIDL, TYPEFLAGS, coclass, library