Reserved keywords

This topic lists the reserved keywords in MIDL. You may not use these keywords in the names of your runtime classes and members.

List of keywords that are reserved

FALSE

ISO_LATIN_1

ISO_UCS

ISO_MULTI_LINGUAL

NULL

SAFEARRAY

TRUE

__alignof

__asm

__cdecl

__declspec

__export

__external_symbol

__far

__fastcall

__float128

__float80

__fortran

__huge

__inline

__int128

__int32

__int3264

__int64

__interface_interception_info

__loadds

__method_property

__near

__pascal

__ptr32

__ptr64

__saveregs

__segment

__self

__stdcall

__unaligned

__w64

__winrt_type_serialization_info

_asm

_cdecl

_declspec

_export

_far

_fastcall

_fortran

_huge

_inline

_loadds

_near

_pascal

_saveregs

_segment

_self

_stdcall

auto

boolean

byte

case

cdecl

char

coclass

const

contract

cpp_quote

declare_guid

default

dispinterface

double

enum

extern

far

float

handle_t

hyper

import

importlib

include

inline

int

interface

library

long

methods

midl_pragma

module

near

pascal

pipe

private_char_16

private_char_8

properties

register

short

signed

sizeof

small

static

stdcall

struct

switch

typedef

union

unsigned

void

volatile

List of keywords that are reserved within a "[ ]" combination

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

control

cs_char

cs_drtag

cs_rtag

cs_stag

cs_tag_rtn

custom

custom_allocator

decode

default_allocator

defaultbind

defaultcollelem

defaultvalue

defaultvtable

disable_consistency_check

displaybind

dllname

dual

enable_allocate

encode

endpoint

entry

explicit_handle

extension

fault_status

first_is

force_allocate

funcdescattr

handle

heap

helpcontext

helpfile

helpstring

helpstringcontext

helpstringdll

hidden

hostContract

id

idempotent

idldescattr

ignore

iid_is

immediatebind

implicit_handle

in

in_line

input_sync

interpret

last_is

lcid

length_is

licensed

local

local_call

long_enum

manual

max_is

maybe

message

min_is

ms_conf_struct

ms_union

nocode

nointerpret

nonbrowsable

noncreatable

nonextensible

notify

notify_flag

object

odl

off_line

oleautomation

optimize

optional

optional_interface

out

out_of_line

partial_ignore

pointer_default

predeclid

propget

propput

propputref

proxy

ptr

public

range

readonly

ref

replaceable

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

source

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

version

winrt_remote_async

wire_marshal

zeroout_alignmentgap