保留关键字

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

保留的关键字列表

FALSE

ISO_LATIN_1

ISO_UCS

ISO_MULTI_LINGUAL

Null

SAFEARRAY

TRUE

__alignof

__asm

__cdecl

__declspec

__出口

__external_symbol

__远

__fastcall

__float128

__float80

__Fortran

__巨大

__inline

__int128

__int32

__int3264

__int64

__interface_interception_info

__loadds

__method_property

__附近

__帕斯卡

__ptr32

__ptr64

__saveregs

__段

__self

__stdcall

__unaligned

__w64

__winrt_type_serialization_info

_Asm

_cdecl

_declspec

_出口

_远

_fastcall

_Fortran

_巨大

_内嵌

_loadds

_附近

_帕斯卡

_saveregs

_段

_self

_stdcall

auto

boolean

字节

case

cdecl

char

coclass

const

contract

cpp_quote

declare_guid

默认值

dispinterface

Double

枚举

extern

FLOAT

handle_t

hyper

import

importlib

include

inline

int

interface

long

方法

midl_pragma

name

near

帕斯卡

private_char_16

private_char_8

properties

register

short

signed

sizeof

小型

static

stdcall

struct

开关

typedef

union

unsigned

void

volatile

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

aggregatable

align

allocate

annotation

appobject

async

async_uuid

auto_handle

bem_handle

bindable

broadcast

bstring

byte_count

call_as

回调 (callback)

code

comm_status

context_handle

context_handle_noserialize

context_handle_serialize

控制

cs_char

cs_drtag

cs_rtag

cs_stag

cs_tag_rtn

自定义

custom_allocator

decode

default_allocator

defaultbind

defaultcollelem

defaultvalue

defaultvtable

disable_consistency_check

displaybind

dllname

dual

enable_allocate

encode

endpoint

entry

explicit_handle

扩展

fault_status

first_is

force_allocate

funcdescattr

句柄

helpcontext

helpfile

helpstring

helpstringcontext

helpstringdll

隐藏

hostContract

id

idempotent

idldescattr

ignore

iid_is

immediatebind

implicit_handle

in

in_line

input_sync

解释

last_is

lcid

length_is

licensed

local

local_call

long_enum

manual

max_is

也许

message

min_is

ms_conf_struct

ms_union

nocode

nointerpret

nonbrowsable

noncreatable

nonextensible

通知

notify_flag

对象 (object)

odl

off_line

oleautomation

optimize

可选

optional_interface

out

out_of_line

partial_ignore

pointer_default

predeclid

propget

propput

propputref

proxy

ptr

公共

range

readonly

ref

更换

represent_as

requestedit

restricted

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

shape

short_enum

size_is

strict_context_handle

string

switch_is

switch_type

system_handle

transmit_as

type_strict_context_handle

typedescattr

uidefault

unaligned

unique

user_marshal

usesgetlasterror

uuid

v1_array

v1_enum

v1_string

v1_struct

vararg

vardescattr

版本

winrt_remote_async

wire_marshal

zeroout_alignmentgap