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.

42 lines
704 B

  1. // Copyright (c) Microsoft Corporation
  2. // sortpp does not understand __declspec(deprecated).
  3. // Just change it to something else arbitrary.
  4. #define deprecated dllimport
  5. #include <stddef.h>
  6. #include "windows.h"
  7. #undef C_ASSERT
  8. #define C_ASSERT(x) /* nothing */
  9. #include "ole2.h"
  10. #include "commctrl.h"
  11. #include "imagehlp.h"
  12. #include "setupapi.h"
  13. #include "wincrypt.h"
  14. #include "idl.h"
  15. class CFooBase
  16. {
  17. };
  18. class
  19. __declspec(uuid("70b1fef5-1e18-4ff5-b350-6306ffee155b"))
  20. CFoo : public CFooBase
  21. {
  22. public:
  23. PVOID Bar(int i);
  24. };
  25. #ifdef SORTPP_PASS
  26. //Restore IN, OUT
  27. #ifdef IN
  28. #undef IN
  29. #endif
  30. #ifdef OUT
  31. #undef OUT
  32. #endif
  33. #define IN __in
  34. #define OUT __out
  35. #endif