53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
|
/*++
|
||
|
|
||
|
Copyright (c) 1996-1997 Microsoft Corporation
|
||
|
|
||
|
Module Name:
|
||
|
|
||
|
imports.idl
|
||
|
|
||
|
Abstract:
|
||
|
|
||
|
This file is useful for creating RPC interfaces that require the use
|
||
|
of windef types. The .idl file for the RPC product should contain a
|
||
|
line in the interface body that imports this file. For example:
|
||
|
|
||
|
import "imports.h";
|
||
|
|
||
|
Doing this causes the MIDL generated header file to contain the
|
||
|
following line:
|
||
|
|
||
|
#include "imports.h"
|
||
|
|
||
|
If this technique is not used, and instead the .idl file for the RPC
|
||
|
product simply contains #include <importsf.h>, then the contents of
|
||
|
imports.h will be expanded in the MIDL generated header file. This
|
||
|
can lead to duplicate definition problems later when the RPC client
|
||
|
or RPC server code needs to include both the MIDL generated header file
|
||
|
and a file that is included in imports.h.
|
||
|
|
||
|
Author:
|
||
|
|
||
|
Glenn Curtis (glennc) 25-Feb-1997
|
||
|
|
||
|
Environment:
|
||
|
|
||
|
User Mode - Win32 - for use with the MIDL compiler
|
||
|
|
||
|
|
||
|
Revision History:
|
||
|
|
||
|
--*/
|
||
|
|
||
|
[
|
||
|
version(0.0),
|
||
|
local
|
||
|
]
|
||
|
interface imports
|
||
|
|
||
|
{
|
||
|
#define MIDL_PASS
|
||
|
#include <imports.h>
|
||
|
|
||
|
}
|