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.

64 lines
1.1 KiB

  1. /*
  2. * $Id: object.h,v 1.2 1995/06/21 12:38:55 sjl Exp $
  3. *
  4. * Copyright (c) Microsoft Corp. 1993-1997
  5. * Version 1.1
  6. *
  7. * All rights reserved.
  8. *
  9. * This file contains private, unpublished information and may not be
  10. * copied in part or in whole without express permission of
  11. * Microsoft Corp.
  12. *
  13. */
  14. #ifndef _OBJECT_H_
  15. #define _OBJECT_H_
  16. #include <stdlib.h>
  17. #ifdef _WIN32
  18. #define COM_NO_WINDOWS_H
  19. #include <objbase.h>
  20. #else
  21. #include "d3dcom.h"
  22. #endif
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. /*
  27. * Data structures
  28. */
  29. #ifdef __cplusplus
  30. /* 'struct' not 'class' per the way DECLARE_INTERFACE_ is defined */
  31. struct ID3DObject;
  32. typedef struct ID3DObject *LPD3DOBJECT;
  33. #else
  34. typedef struct ID3DObject *LPD3DOBJECT;
  35. #endif
  36. /*
  37. * ID3DObject
  38. */
  39. #undef INTERFACE
  40. #define INTERFACE ID3DObject
  41. DECLARE_INTERFACE(ID3DObject)
  42. {
  43. /*
  44. * ID3DObject methods
  45. */
  46. STDMETHOD(Initialise) (THIS_ LPVOID arg) PURE;
  47. STDMETHOD(Destroy) (THIS_ LPVOID arg) PURE;
  48. };
  49. #ifdef __cplusplus
  50. };
  51. #endif
  52. #endif /* _OBJECT_H_ */