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.

24 lines
650 B

  1. // crtfns.h -- Smaller paraphrases of the C runtime APIs we use
  2. #ifndef __CRTFNS_H__
  3. #define __CRTFNS_H__
  4. #undef CopyMemory
  5. #undef FillMemory
  6. #undef ZeroMemory
  7. #define CopyMemory memCpy
  8. #define FillMemory memSet
  9. #define ZeroMemory(dest,count) memSet(dest, 0, count)
  10. void * __stdcall memSet(void *dest, int chr, size_t count);
  11. void * __stdcall memCpy(void *dest, const void *src, size_t count);
  12. wchar_t * __stdcall wcsCpy(wchar_t *wcsDest, const wchar_t *wcsSrc);
  13. wchar_t * __stdcall wcsCat(wchar_t *wcsDest, const wchar_t *wcsSrc);
  14. #define wcsLen lstrlenW
  15. wchar_t * __stdcall wcsChr(const wchar_t *src, wchar_t chr);
  16. #endif // __CRTFNS_H__