/ms_union switch
The /ms_union switch controls the NDR alignment of nonencapsulated unions.
Note
This attribute is provided for backwards compatibility. It is not recommended for use in a new interface.
midl /ms_union
Switch Options
This switch has no parameters.
Remarks
The MIDL compiler mirrors the behavior of the OSF-DCE IDL compiler for nonencapsulated unions. However, because earlier versions of the MIDL compiler did not do so, the /ms_union switch provides compatibility with interfaces built on previous versions of the MIDL compiler.
The ms_union feature can be used as a command-line switch (/ms_union), an IDL interface attribute, or as an IDL-type attribute.
Examples
midl /ms_union file.idl
See also
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla