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.
61 lines
1.4 KiB
61 lines
1.4 KiB
/*++
|
|
|
|
Copyright (C) Microsoft Corporation, 1991 - 1999
|
|
|
|
Module Name:
|
|
|
|
certimp.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 "certimp.h";
|
|
|
|
Doing this causes the MIDL generated header file to contain the
|
|
following line:
|
|
|
|
#include "certimp.h"
|
|
|
|
If this technique is not used, and instead the .idl file for the RPC
|
|
product simply contains #include <certimp.h>, then the contents of
|
|
certimp.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 certimp.h.
|
|
|
|
Author:
|
|
|
|
Dan Lafferty (danl) 20-Mar-1991
|
|
|
|
Environment:
|
|
|
|
User Mode - Win32 - for use with the MIDL compiler
|
|
|
|
|
|
Revision History:
|
|
|
|
03-Apr-1991 danl created
|
|
|
|
--*/
|
|
|
|
[
|
|
uuid(581948f8-c8e8-11d1-9bed-00c04fb683fa),
|
|
#ifdef __midl
|
|
ms_union,
|
|
#endif // __midl
|
|
version(1.0)
|
|
]
|
|
|
|
interface ICertImports
|
|
{
|
|
#define MIDL_PASS
|
|
#include "certimp.h"
|
|
|
|
// All .idl files need to contain at least one function prototype
|
|
|
|
DWORD Dummy(
|
|
[in] DWORD DummyParm);
|
|
}
|