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.

93 lines
4.7 KiB

  1. /**INC+**********************************************************************/
  2. /* Header: wdcgbtyp.h */
  3. /* */
  4. /* Purpose: Basic types - Windows specific header */
  5. /* */
  6. /* Copyright(C) Microsoft Corporation 1997 */
  7. /* */
  8. /****************************************************************************/
  9. /** Changes:
  10. * $Log: Y:/logs/h/dcl/wdcgbtyp.h_v $
  11. *
  12. * Rev 1.4 04 Aug 1997 14:58:38 KH
  13. * SFR1022: Move DCCALLBACK from n/ddcgbtyp
  14. *
  15. * Rev 1.3 23 Jul 1997 10:48:04 mr
  16. * SFR1079: Merged \server\h duplicates to \h\dcl
  17. *
  18. * Rev 1.2 09 Jul 1997 17:11:24 AK
  19. * SFR1016: Initial changes to support Unicode
  20. *
  21. * Rev 1.1 19 Jun 1997 14:22:20 ENH
  22. * Win16Port: Make compatible with 16 bit build
  23. **/
  24. /**INC-**********************************************************************/
  25. #ifndef _H_WDCGBTYP
  26. #define _H_WDCGBTYP
  27. /****************************************************************************/
  28. /* */
  29. /* INCLUDES */
  30. /* */
  31. /****************************************************************************/
  32. /****************************************************************************/
  33. /* Determine our target Windows platform and include the appropriate header */
  34. /* file. */
  35. /* Currently we support: */
  36. /* */
  37. /* Windows 3.1 : ddcgbtyp.h */
  38. /* Windows NT : ndcgbtyp.h */
  39. /* */
  40. /****************************************************************************/
  41. #ifdef OS_WIN16
  42. #include <ddcgbtyp.h>
  43. #elif defined( OS_WIN32 )
  44. #include <ndcgbtyp.h>
  45. #endif
  46. /****************************************************************************/
  47. /* */
  48. /* CONSTANTS */
  49. /* */
  50. /****************************************************************************/
  51. /****************************************************************************/
  52. /* */
  53. /* TYPES */
  54. /* */
  55. /****************************************************************************/
  56. /****************************************************************************/
  57. /* Support ASCII (A), Wide (W) = Unicode, and Mixed (T) character sets. */
  58. /****************************************************************************/
  59. typedef char DCACHAR;
  60. typedef wchar_t DCWCHAR;
  61. typedef TCHAR DCTCHAR;
  62. typedef DCACHAR DCPTR PDCACHAR;
  63. typedef DCWCHAR DCPTR PDCWCHAR;
  64. typedef DCTCHAR DCPTR PDCTCHAR;
  65. typedef PDCACHAR DCPTR PPDCACHAR;
  66. typedef PDCWCHAR DCPTR PPDCWCHAR;
  67. typedef PDCTCHAR DCPTR PPDCTCHAR;
  68. /****************************************************************************/
  69. /* Basic types abstracted from compiler built ins. */
  70. /****************************************************************************/
  71. typedef short DCINT16;
  72. typedef unsigned short DCUINT16;
  73. /****************************************************************************/
  74. /* Define function calling conventions. */
  75. /****************************************************************************/
  76. #define DCCALLBACK CALLBACK
  77. /****************************************************************************/
  78. /* Windows specific definitions. */
  79. /****************************************************************************/
  80. typedef HRGN DCREGIONID;
  81. typedef HINSTANCE DCINSTANCE;
  82. #endif /* _H_WDCGBTYP */