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.

56 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1994 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. Madan Appiah (madana) 10-Sep-1993
  21. Manny Weiser (mannyw) 11-Aug-1992
  22. Environment:
  23. User Mode - Win32 - for use with the MIDL compiler
  24. Revision History:
  25. --*/
  26. [
  27. uuid(12345678-1234-ABCD-EF00-2248756789AB),
  28. version(1.0),
  29. pointer_default(unique)
  30. ]
  31. interface imports
  32. {
  33. #define MIDL_PASS
  34. #include "imports.h"
  35. }