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.

26 lines
865 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1999 - 1999
  5. //
  6. // File: string.cpp
  7. //
  8. // Contents: Utility functions for the CString class
  9. //
  10. // History: 10-Aug-99 VivekJ Created
  11. //
  12. //--------------------------------------------------------------------------
  13. // a function to load strings from the string module, not the AfxModule
  14. BOOL LoadString(CString &str, UINT nID);
  15. void FormatStrings(CString& rString, UINT nIDS, LPCTSTR const* rglpsz, int nString);
  16. void FormatString1(CString& rString, UINT nIDS, LPCTSTR lpsz1);
  17. void FormatString2(CString& rString, UINT nIDS, LPCTSTR lpsz1, LPCTSTR lpsz2);
  18. // make sure that the MMC functions replace the MFC ones.
  19. #define AfxFormatString1 FormatString1
  20. #define AfxFormatString2 FormatString2