windows-nt/Source/XPSP1/NT/admin/netui/shell/h/winlocal.h

72 lines
2.1 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*****************************************************************/
/** Microsoft Windows NT **/
/** Copyright(c) Microsoft Corp., 1989-1992 **/
/*****************************************************************/
/*
* Windows/Network Interface -- LAN Manager Version
*
* Insert typedef which is excluded from netlib.h when the
* OS2_INCLUDED switch is included. OS2_INCLUDED is necessary
* to avoid a redefinition of BYTE. For this reason, to include
* the str[...]f functions, include the following lines:
* #include "winlocal.h"
* #define OS2_INCLUDED
* #include <netlib.h>
* #undef OS2_INCLUDED
* Note, that winlocal.h must be included before netlib.h.
*
* History:
* terryk 08-Nov-1991 change ErrorPopup's WORD to UINT
* chuckc 12-Dec-1991 move error message defines elsewhere,
* misc cleanup.
* Yi-HsinS 31-Dec-1991 Unicode work - move string literals
* defines to strchlit.hxx
* beng 21-Feb-1992 Relocate some BMIDs to focusdlg.h
* beng 04-Aug-1992 Move resource IDs into official range;
* dialog IDs return to here
*/
#ifndef _WINLOCAL_H_
#define _WINLOCAL_H_
#ifndef RC_INVOKED
#ifdef __cplusplus
extern "C" {
#endif
/*
* Error Functions
*/
void SetNetError ( APIERR err );
APIERR GetNetErrorCode ();
UINT MapError( APIERR usNetErr );
#ifdef __cplusplus
}
#endif
/*
* Manifests used to modify win.ini - now lives in strchlit.hxx
*/
#include <strchlit.hxx> // Must include before PROFILE_BUFFER_SIZE
#define PROFILE_BUFFER_SIZE (max( sizeof(PROFILE_YES_STRING), \
sizeof(PROFILE_NO_STRING)) +1)
/*
* MAX_TEXT_SIZE defines the maximum length of several of the
* above strings used several files
*/
#define MAX_TEXT_SIZE 208
/*
* Convenient macros
*/
#define UNREFERENCED(x) ((void)(x))
#endif //!RC_INVOKED
#endif