Windows NT 4.0 source code leak
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.
 
 
 
 
 
 

37 lines
1.2 KiB

/*****************************************************************************
* *
* STR.H *
* *
* Copyright (C) Microsoft Corporation 1990. *
* All Rights reserved. *
* *
******************************************************************************
* *
* Module Intent *
* String abstraction layer: WIN/PM version *
* *
*****************************************************************************/
_subsystem( string )
#define IsEmptyString(ptr) ((ptr == NULL) || (!ptr[0]))
/*****************************************************************************
* *
* Macros *
* *
*****************************************************************************/
#define SzCopy strcpy
#define SzCat strcat
#define SzNCat strncat
#define CbLenSz strlen
#define SzNCopy strncpy
#define SzFromSzCh strchr
#define SzEnd(x) (x+strlen(x))
_public
#define StCopy(st1, st2) (ST)MoveMemory( (st1), (st2), (LONG)*(st2) )
_public
#define CbLenSt(st) ((WORD)*(st))