Leaked source code of windows server 2003
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.

27 lines
930 B

  1. //+----------------------------------------------------------------------------
  2. //
  3. // File: CompareString.h
  4. //
  5. // Module: CMPROXY.DLL, CMROUTE.DLL, CMAK.EXE
  6. //
  7. // Synopsis: definitions for SafeCompareStringA and SafeCompareStringW.
  8. //
  9. // Note that these functions are also present in CMUTIL.dll. However,
  10. // cmutil is an inappropriate dependency for components that do not
  11. // sim-ship with it (this includes customactions and CMAK).
  12. //
  13. // Copyright (c) 1998-2002 Microsoft Corporation
  14. //
  15. // Author: SumitC Created 12-Sep-2001
  16. //
  17. //+----------------------------------------------------------------------------
  18. #ifdef UNICODE
  19. #define SafeCompareString SafeCompareStringW
  20. #else
  21. #define SafeCompareString SafeCompareStringA
  22. #endif
  23. int SafeCompareStringA(LPCSTR lpString1, LPCSTR lpString2);
  24. int SafeCompareStringW(LPCWSTR lpString1, LPCWSTR lpString2);