Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

75 lines
1.7 KiB

/*++
Copyright (c) 1991-1992 Microsoft Corporation
Module Name:
AtSvcInc.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 "AtSvcInc.idl";
Doing this causes the MIDL generated header file to contain the
following line:
#include "AtSvcInc.h"
If this technique is not used, and instead the .idl file for the RPC
product simply contains #include <AtSvcInc.h>, then the contents of
AtSvcInc.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 AtSvcInc.h.
Author:
Vladimir Z. Vulovic (vladimv) 06 - November - 1992
Environment:
User Mode - Win32 - for use with the MIDL compiler
Revision History:
06-Nov-1992 vladimv Created
20-Jun-2002 shbrown renamed imports.idl to AtSvcInc.idl as header files
for this RPC interface now need to be published
--*/
[
uuid(12345678-1234-ABCD-EF00-9948756789AB),
version(1.0),
#ifdef __midl
ms_union,
#endif // __midl
pointer_default(unique)
]
interface imports
{
#include <windef.h>
#include <lmcons.h>
#define LPSTR [string] LPSTR
#define LPTSTR [string] wchar_t *
#define LPWSTR [string] wchar_t *
#define BOOL DWORD
#include <lmat.h>
//
// All .idl files need to contain at least one function prototype
//
DWORD
Dummy(
[in] DWORD DummyParm);
}