windows-nt/Source/XPSP1/NT/admin/activec/conui/stringutil.h
2020-09-26 16:20:57 +08:00

27 lines
865 B
C

//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1999 - 1999
//
// File: string.cpp
//
// Contents: Utility functions for the CString class
//
// History: 10-Aug-99 VivekJ Created
//
//--------------------------------------------------------------------------
// a function to load strings from the string module, not the AfxModule
BOOL LoadString(CString &str, UINT nID);
void FormatStrings(CString& rString, UINT nIDS, LPCTSTR const* rglpsz, int nString);
void FormatString1(CString& rString, UINT nIDS, LPCTSTR lpsz1);
void FormatString2(CString& rString, UINT nIDS, LPCTSTR lpsz1, LPCTSTR lpsz2);
// make sure that the MMC functions replace the MFC ones.
#define AfxFormatString1 FormatString1
#define AfxFormatString2 FormatString2