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.

99 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. win95api.h
  5. Abstract:
  6. Contains some thunking for Unicode KERNEL32 and USER32 APIs
  7. Author:
  8. Danilo Almeida (t-danal) 07-01-96
  9. Revision History:
  10. --*/
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. #ifdef _WINBASE_
  15. #ifndef __WIN95BASE__
  16. #define __WIN95BASE__
  17. // KERNEL32.DLL
  18. #define GetProfileIntW Win95GetProfileIntW
  19. #define CreateSemaphoreW Win95CreateSemaphoreW
  20. #define LoadLibraryW Win95LoadLibraryW
  21. #define SystemTimeToTzSpecificLocalTime Win95SystemTimeToTzSpecificLocalTime
  22. UINT
  23. WINAPI
  24. GetProfileIntW(
  25. LPCWSTR lpAppName,
  26. LPCWSTR lpKeyName,
  27. INT nDefault
  28. );
  29. HANDLE
  30. WINAPI
  31. CreateSemaphoreW(
  32. LPSECURITY_ATTRIBUTES lpSemaphoreAttributes,
  33. LONG lInitialCount,
  34. LONG lMaximumCount,
  35. LPCWSTR lpName
  36. );
  37. HMODULE
  38. WINAPI
  39. LoadLibraryW(
  40. LPCWSTR lpLibFileName
  41. );
  42. BOOL
  43. WINAPI
  44. SystemTimeToTzSpecificLocalTime(
  45. LPTIME_ZONE_INFORMATION lpTimeZoneInformation,
  46. LPSYSTEMTIME lpUniversalTime,
  47. LPSYSTEMTIME lpLocalTime
  48. );
  49. #endif // __WIN95BASE__
  50. #endif // _WINBASE_ (KERNEL32.DLL)
  51. // USER32.DLL
  52. #ifdef _WINUSER_
  53. #ifndef __WIN95USER__
  54. #define __WIN95USER__
  55. #define wvsprintfW Win95wvsprintfW
  56. #define wsprintfW Win95wsprintfW
  57. int
  58. WINAPI
  59. wvsprintfW(
  60. LPWSTR lpOut,
  61. LPCWSTR lpFmt,
  62. va_list arglist);
  63. int
  64. WINAPIV
  65. wsprintfW(
  66. LPWSTR lpOut,
  67. LPCWSTR lpFmt,
  68. ...);
  69. #endif // __WIN95USER__
  70. #endif // _WINUSER_ (USER32.DLL)
  71. #ifdef __cplusplus
  72. }
  73. #endif