The ACF header contains platform-specific attributes that apply to the interface as a whole. Attributes applied to individual types and functions in the ACF body override the attributes in the ACF header. No attributes are required in the ACF header.
The ACF header can include one of the following attributes: [auto_handle], [implicit_handle], or explicit_handle]. If [auto_handle] or [implicit_handle] is used, it specifies the type of binding handle that will be used for binding when a remote function does not have an explicit binding-handle parameter. When the ACF is not present or does not specify an automatic, implicit, or explicit binding handle, MIDL uses [auto_handle] for implicit binding.
Either [code] or [nocode] can appear in the interface header, but the one you choose can appear only once. When neither attribute is present, the compiler uses [code] as a default.
For more information, see ACF Attributes.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
