restricted
[restricted[, other-attributes]]
statement-type statement-name { definitions};
Examples
[uuid(. . .), version (1.0), restricted] library
UCantTouchThis
{ . . .};
[propget, restricted] HRESULT DontTouch(void);
Remarks
The restricted
attribute specifies that a library, or member of a module, interface, or
dispinterface cannot be called arbitrarily. For example, this prevents a data
item from being used by a macro programmer. You can apply this attribute to a
member of a coclass
Flags
IMPLTYPEFLAG_FRESTRICTED,
FUNCFLAG_FRESTRICTED
See Also