MIDL Language Reference

This section provides a reference entry for each keyword in the Microsoft Interface Definition Language (MIDL). Reference entries are also included for important language productions and concepts.

Topic Description
Reserved keywords This topic lists the reserved keywords in MIDL. You may not use these keywords in the names of your types and members.
Mixed-mode serialization of context handles In Microsoft Windows XP, a single interface can accommodate both serialized and nonserialized context handles, which is called mixed-mode serialization.

The reference entries are arranged in alphabetical order, and each entry includes syntax, examples, descriptions, and cross-references.

aggregatable
allocate
annotate
appobject
arrays
async
async_uuid
auto_handle
bindable
Boolean
broadcast
byte
byte_count
call_as
callback
char
coclass
code
comm_status
const
context_handle
context_handle_noserialize
context_handle_serialize
control
cpp_quote
custom
decode
default
defaultbind
defaultcollelem
defaultvalue
defaultvtable
disable_consistency_check
dispinterface
displaybind
dllname(str)
double
dual
enable_allocate
encode
endpoint
entry
enum
error_status_t
explicit_handle
fault_status
first_is
float
force_allocate
handle
handle_t
helpcontext
helpfile
helpstring
helpstringcontext
helpstringdll
hidden
hyper
id
idempotent
ignore
iid_is
immediatebind
implicit_handle
import
importlib
in
include
in_line
int
__int32
__int64
interface
last_is
lcid
length_is
library
licensed
local
long
max_is
maybe
message
midl_pragma warning
midl_user_allocate
midl_user_free
min_is
module
ms_union
ncacn_at_dsp
ncacn_dnet_nsp
ncacn_http
ncacn_ip_tcp
ncacn_nb_ipx
ncacn_nb_nb
ncacn_nb_tcp
ncacn_np
ncacn_spx
ncacn_vns_spp
ncadg_ip_udp
ncadg_ipx
ncadg_mq
ncalrpc
nocode
nonbrowsable
noncreatable
nonextensible
notify
notify_flag
object
odl
oleautomation
optimize
optional
out
out_of_line
partial_ignore
pipe
pointer_default
pragma
propget
propput
propputref
proxy
ptr
public
range
readonly
ref
represent_as
requestedit
restricted
retval
shape
short
signed
size_is
small
source
strict_context_handle
string
struct
switch
switch_is
switch_type
transmit_as
typedef
uidefault
unique
union
unsigned
user_marshal
usesgetlasterror
uuid
v1_enum
vararg
version
void
wchar_t
wire_marshal