mirror of https://github.com/tongzx/nt5src
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.
47 lines
936 B
47 lines
936 B
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
|
|
//
|
|
// string.h
|
|
//
|
|
// String functions used by cdfview that are not in shlwapi.h.
|
|
//
|
|
// History:
|
|
//
|
|
// 5/15/97 edwardp Created.
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
// Check for previous includes of this file.
|
|
//
|
|
|
|
#ifndef _STRING_H_
|
|
|
|
#define _STRING_H_
|
|
|
|
//
|
|
// String function declarations.
|
|
//
|
|
#ifdef UNICODE
|
|
#define StrEql StrEqlW
|
|
#else // UNICODE
|
|
#define StrEql StrEqlA
|
|
#endif // UNICODE
|
|
|
|
#define StrCpyA lstrcpyA
|
|
#define StrCpyNA lstrcpynA
|
|
#define StrCatA lstrcatA
|
|
|
|
#define StrLen lstrlen // lstrlen works in W95.
|
|
#define StrLenA lstrlenA
|
|
#define StrLenW lstrlenW
|
|
|
|
//
|
|
// Function prototypes.
|
|
//
|
|
|
|
BOOL StrEqlA(LPCSTR p1, LPCSTR p2);
|
|
BOOL StrEqlW(LPCWSTR p1, LPCWSTR p2);
|
|
|
|
BOOL StrLocallyDisplayable(LPCWSTR pwsz);
|
|
|
|
#endif // _STRING_H_
|