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.
 
 
 
 
 
 

66 lines
1.4 KiB

#ifndef __APP_VERIFIER_UTIL_H__
#define __APP_VERIFIER_UTIL_H__
///////////////////////////////////////////////////////////////////////////
//
// Report an error using a dialog box.
// The message format string is loaded from the resources.
//
void __cdecl
AVErrorResourceFormat(
UINT uIdResourceFormat,
...
);
///////////////////////////////////////////////////////////////////////////
//
// Load a string from resources.
// Return TRUE if we successfully loaded and FALSE if not.
//
// N.B. CString::LoadString doesn't work in cmd line mode
//
BOOL
AVLoadString(
ULONG uIdResource,
WCHAR* szBuffer,
ULONG uBufferLength
);
///////////////////////////////////////////////////////////////////////////
//
// Load a string from resources.
// Return TRUE if we successfully loaded and FALSE if not.
//
// N.B. CString::LoadString doesn't work in cmd line mode
//
BOOL
AVLoadString(
ULONG uIdResource,
wstring& strText
);
/////////////////////////////////////////////////////////////////////////////
BOOL
AVRtlCharToInteger(
IN LPCTSTR String,
IN ULONG Base OPTIONAL,
OUT PULONG Value
);
/////////////////////////////////////////////////////////////////////////////
BOOL
AVWriteStringHexValueToRegistry(
HKEY hKey,
LPCTSTR szValueName,
DWORD dwValue
);
#endif //#ifndef __APP_VERIFIER_UTIL_H__