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.

46 lines
1.3 KiB

  1. /********************************************************************/
  2. /** Copyright(c) 1991 Microsoft Corporation. **/
  3. /********************************************************************/
  4. //***
  5. //
  6. // Filename: import.idl
  7. //
  8. // Description: This file is useful for creating RPC interfaces that
  9. // require the use of windef types. The .idl file for the
  10. // RPC product should contain a line in the interface body
  11. // that imports this file. For example:
  12. //
  13. // import "import.h";
  14. //
  15. // Doing this causes the MIDL generated header file to contain the
  16. // following line:
  17. //
  18. // #include "import.h"
  19. //
  20. // If this technique is not used, and instead the .idl file
  21. // for the RPC product simply contains #include <import.h>,
  22. // then the contents of import.h will be expanded in the MIDL
  23. // generated header file. This can lead to duplicate definition
  24. // problems later when the RPC client or RPC server code needs to
  25. // include both the MIDL generated header file and a file that is
  26. // included in import.h.
  27. //
  28. // History:
  29. // May 11,1992. NarenG Created original version.
  30. //
  31. [
  32. uuid(4a54de70-b7c3-11ce-bbd2-00001a181cad),
  33. version(0.0),
  34. pointer_default(unique)
  35. ]
  36. interface imports
  37. {
  38. #define MIDL_PASS
  39. #include "import.h"
  40. }