control

[uuid, control [, attribute-list]] library | coclass lib-or-coclassname
{ definitions }

attribute-list
Specifies zero or more attributes that apply to the library or coclass statement. Separate multiple attributes with commas.

Example

[uuid(. . .),helpstring("Hello 2.1 OLE Control Library"), 
   control,version(2.1)] 
library Hello 
{ /* library definitions */}
 

Remarks

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.

Flags

TYPEFLAG_FCONTROL, LIBFLAG_FCONTROL

See Also

ODL File Syntax, ODL File Example, Generating a Type Library With MIDL, TYPEFLAGS, coclass, library