Sie sind auf Seite 1von 10

Veeraj R. Shenoy Roll No.

30

Component Object Model

Purpose

Where Applicable

Runtime requirements

Developer Audience

Invoking the MIDL Compiler Response Files C-Preprocessor Requirements for MIDL C/C++-Compiler Considerations C-Compiler Packing Issues C-Compiler Definitions for Proxy/Stubs Using the __midl Predefined Constant MIDL and RPC Files Generated for an RPC The Client Stub The Server Stub The Header File Targeting Stubs for Specific 32-bit or 64-bit Platforms To build for Windows 2000 or later releases MIDL and COM Files Generated for a COM Interface

The Interface Proxy File The Header Files The Interface UUID File The Interface Registration File Interface Definitions and Type Libraries Interfaces in Distributed Objects COM, DCOM, and Type Libraries Characteristics of an Interface Interface Definition (IDL) File

Marshaling OLE Data Types MIDL and ODL Generating a Type Library with MIDL Additional Files Required to Generate a Type Library Differences Between MIDL and MkTypLib

ODL Attributes [hidden] [in] [out] [uuid] [version]

[vararg]

ODL Keywords, Statements, and Directives Coclass interface module struct Typedef union

IDL Attributes Field Attributes Aliasing and Marshaling Attributes Asynchronous Attributes Array and Sized-Pointer Attributes Default Pointer-Attribute Values Pointer Attributes in Type Definitions Data Type Attributes Directional Attributes Function Call Attributes Interface Header Attributes Performance Attributes Pointer Type Attributes Structure and Union Attributes Type Library Attributes

Binding

ACF Attributes Stub Optimization ACF Attributes Type-Conversion and Marshaling ACF Attributes Memory Management ACF Attributes Using ACF Attributes in an IDL File

MIDL Predefined and Base Types Boolean byte char double float small void Signed and Unsigned Types

Other MIDL Data Types BSTR VARIANT SAFEARRAY MIDL Arrays typedef [ref] short * ARefPointer;typedef ARefPointer ArrayOfRef[10]; HRESULT proc1( [out] ArrayOfRef Parameter );

/acf /align /backward_compat /c_ext /client /confirm

MIDL Enumerated Types MIDL Structures MIDL Unions Nonencapsulated Unions MIDL Binding Handles Importing Files and Type Libraries Importing System Header Files MIDL Command-Line Reference
/amd64

aggregatable allocate annotate appobject async async_uuid auto_handle Boolean broadcastbyte byte_count

MIDL Language Reference

/app_config /caux /char /cpp_cmd /cpp_opt

arrays bindable call_as

Das könnte Ihnen auch gefallen