windows-nt/Source/XPSP1/NT/shell/osshell/accesory/eudcedit/util.h

35 lines
1.1 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/**************************************************/
/* */
/* */
/* EudcEditor Utillity funcs */
/* */
/* */
/* Copyright (c) 1997-1999 Microsoft Corporation. */
/**************************************************/
int OutputMessageBox( HWND hWnd, UINT TitleID, UINT MessgID, BOOL OkFlag);
#ifdef BUILD_ON_WINNT
int OutputMessageBoxEx( HWND hWnd, UINT TitleID, UINT MessgID, BOOL OkFlag, ...);
#endif // BUILD_ON_WINNT
void GetStringRes( LPTSTR lpStr, UINT sID);
void ConvStringRes( LPTSTR lpStr, CString String);
#ifdef UNICODE
#define Mytcsrchr wcsrchr
#define Mytcschr wcschr
#define Mytcstok wcstok
#define Mytcstol wcstol
#define Mytcsstr wcsstr
#define Myttoi _wtoi
#else
char * Mystrrchr(char *pszString, char ch);
char * Mystrchr(char *pszString, char ch);
#define Mytcsrchr Mystrrchr
#define Mytcschr Mystrchr
#define Mytcstok strtok
#define Mytcstol strtol
#define Mytcsstr strstr
#define Myttoi atoi
#endif