保留关键字

本主题列出了 MIDL 中的保留关键字。 不能在运行时类和成员的名称中使用这些关键字。

保留的关键字列表

ISO_LATIN_1

ISO_UCS

ISO_MULTI_LINGUAL

SAFEARRAY

__alignof

__asm

__cdecl

__declspec

__出口

__external_symbol

__远

__fastcall

__float128

__float80

__fortran

__巨大

__内嵌

__int128

__int32

__int3264

__int64

__interface_interception_info

__loadds

__method_property

__近

__帕斯卡

__ptr32

__ptr64

__saveregs

__段

__自我

__stdcall

__unaligned

__w64

__winrt_type_serialization_info

_asm

_cdecl

_declspec

_出口

_远

_fastcall

_fortran

_巨大

_内嵌

_loadds

_近

_帕斯卡

_saveregs

_段

_自我

_stdcall

自动

布尔

字节

cdecl

coclass

常量

合同

cpp_quote

declare_guid

违约

dispinterface

枚举

extern

handle_t

进口

importlib

包括

内嵌

int

接口

图书馆

方法

midl_pragma

模块

帕斯卡

private_char_16

private_char_8

性能

注册

签署

sizeof

静态的

stdcall

结构

开关

typedef

联盟

无符号

无效

挥发性的

在“[ ]”组合中保留的关键字列表

aggregatable

對齊

分配

注解

appobject

异步

async_uuid

auto_handle

bem_handle

可绑定

广播

bstring

byte_count

call_as

回调

法典

comm_status

context_handle

context_handle_noserialize

context_handle_serialize

控制

cs_char

cs_drtag

cs_rtag

cs_stag

cs_tag_rtn

习惯

custom_allocator

解码

default_allocator

defaultbind

defaultcollelem

defaultvalue

defaultvtable

disable_consistency_check

displaybind

dllname

对偶

enable_allocate

编码

端点

进入

explicit_handle

外延

fault_status

first_is

force_allocate

funcdescattr

处理

helpcontext

helpfile

helpstring

helpstringcontext

helpstringdll

隐藏

hostContract

id

幂等

idldescattr

忽视

iid_is

immediatebind

implicit_handle

in_line

input_sync

解释

last_is

lcid

length_is

许可

当地

local_call

long_enum

手动

max_is

消息

min_is

ms_conf_struct

ms_union

nocode

nointerpret

不可浏览

不可创建

nonextensible

通知

notify_flag

对象

odl

off_line

oleautomation

优化

自选

optional_interface

out_of_line

partial_ignore

pointer_default

predeclid

propget

propput

propputref

代理

ptr

公共

范围

readonly

裁判

更换

represent_as

requestedit

限制

retval

sh_composition

sh_event

sh_file

sh_job

sh_mutex

sh_pipe

sh_process

sh_reg_key

sh_section

sh_semaphore

sh_socket

sh_thread

sh_token

形状

short_enum

size_is

strict_context_handle

字符串

switch_is

switch_type

system_handle

transmit_as

type_strict_context_handle

typedescattr

uidefault

unaligned

独特

user_marshal

usesgetlasterror

uuid

v1_array

v1_enum

v1_string

v1_struct

vararg

vardescattr

版本

winrt_remote_async

wire_marshal

zeroout_alignmentgap