mirror of https://github.com/tongzx/nt5src
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.
29 lines
1.0 KiB
29 lines
1.0 KiB
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1997 - 1999
|
|
//
|
|
// File: strings.h
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
#ifndef __strings_h
|
|
#define __strings_h
|
|
|
|
HRESULT LocalAllocString(LPTSTR* ppResult, LPCTSTR pString);
|
|
HRESULT LocalAllocStringLen(LPTSTR* ppResult, UINT cLen);
|
|
void LocalFreeString(LPTSTR* ppString);
|
|
|
|
UINT SizeofStringResource(HINSTANCE hInstance, UINT idStr);
|
|
int LoadStringAlloc(LPTSTR *ppszResult, HINSTANCE hInstance, UINT idStr);
|
|
|
|
// String formatting functions - *ppszResult must be LocalFree'd
|
|
DWORD FormatStringID(LPTSTR *ppszResult, HINSTANCE hInstance, UINT idStr, ...);
|
|
DWORD FormatString(LPTSTR *ppszResult, LPCTSTR pszFormat, ...);
|
|
DWORD vFormatStringID(LPTSTR *ppszResult, HINSTANCE hInstance, UINT idStr, va_list *pargs);
|
|
DWORD vFormatString(LPTSTR *ppszResult, LPCTSTR pszFormat, va_list *pargs);
|
|
|
|
DWORD GetSystemErrorText(LPTSTR *ppszResult, DWORD dwErr);
|
|
|
|
#endif
|