windows-nt/Source/XPSP1/NT/admin/activec/conui/stringutil.h

27 lines
865 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// 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