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.

71 lines
2.1 KiB

  1. /*****************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1989-1992 **/
  4. /*****************************************************************/
  5. /*
  6. * Windows/Network Interface -- LAN Manager Version
  7. *
  8. * Insert typedef which is excluded from netlib.h when the
  9. * OS2_INCLUDED switch is included. OS2_INCLUDED is necessary
  10. * to avoid a redefinition of BYTE. For this reason, to include
  11. * the str[...]f functions, include the following lines:
  12. * #include "winlocal.h"
  13. * #define OS2_INCLUDED
  14. * #include <netlib.h>
  15. * #undef OS2_INCLUDED
  16. * Note, that winlocal.h must be included before netlib.h.
  17. *
  18. * History:
  19. * terryk 08-Nov-1991 change ErrorPopup's WORD to UINT
  20. * chuckc 12-Dec-1991 move error message defines elsewhere,
  21. * misc cleanup.
  22. * Yi-HsinS 31-Dec-1991 Unicode work - move string literals
  23. * defines to strchlit.hxx
  24. * beng 21-Feb-1992 Relocate some BMIDs to focusdlg.h
  25. * beng 04-Aug-1992 Move resource IDs into official range;
  26. * dialog IDs return to here
  27. */
  28. #ifndef _WINLOCAL_H_
  29. #define _WINLOCAL_H_
  30. #ifndef RC_INVOKED
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif
  34. /*
  35. * Error Functions
  36. */
  37. void SetNetError ( APIERR err );
  38. APIERR GetNetErrorCode ();
  39. UINT MapError( APIERR usNetErr );
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43. /*
  44. * Manifests used to modify win.ini - now lives in strchlit.hxx
  45. */
  46. #include <strchlit.hxx> // Must include before PROFILE_BUFFER_SIZE
  47. #define PROFILE_BUFFER_SIZE (max( sizeof(PROFILE_YES_STRING), \
  48. sizeof(PROFILE_NO_STRING)) +1)
  49. /*
  50. * MAX_TEXT_SIZE defines the maximum length of several of the
  51. * above strings used several files
  52. */
  53. #define MAX_TEXT_SIZE 208
  54. /*
  55. * Convenient macros
  56. */
  57. #define UNREFERENCED(x) ((void)(x))
  58. #endif //!RC_INVOKED
  59. #endif