Source code of Windows XP (NT5)
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.

68 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. imports.idl
  5. Abstract:
  6. This file is useful for creating RPC interfaces that require the use
  7. of windef types. The .idl file for the RPC product should contain a
  8. line in the interface body that imports this file. For example:
  9. import "imports.h";
  10. Doing this causes the MIDL generated header file to contain the
  11. following line:
  12. #include "imports.h"
  13. If this technique is not used, and instead the .idl file for the RPC
  14. product simply contains #include <importsf.h>, then the contents of
  15. imports.h will be expanded in the MIDL generated header file. This
  16. can lead to duplicate definition problems later when the RPC client
  17. or RPC server code needs to include both the MIDL generated header file
  18. and a file that is included in imports.h.
  19. Author:
  20. Dan Lafferty (danl) 20-Mar-1991
  21. Environment:
  22. User Mode - Win32 - for use with the MIDL compiler
  23. Revision History:
  24. 03-Apr-1991 danl
  25. created
  26. --*/
  27. [
  28. // UUID for import dummpy
  29. uuid(abd29590-ebb1-11cf-8611-00a0245420ed),
  30. // uuid(e04575c0-6952-11cf-8784-0020af6edeaf),
  31. version(0.0)
  32. ]
  33. interface imports
  34. {
  35. #define MIDL_PASS
  36. #include "import.h"
  37. //
  38. // All .idl files need to contain at least one function prototype
  39. //
  40. DWORD
  41. Dummy(
  42. [in] DWORD DummyParm);
  43. }