10#define CONFIGURATION_FILENAMEA "rosautotest.ini"
11#define CONFIGURATION_FILENAMEW L"rosautotest.ini"
19 : m_CrashRecovery(
false),
20 m_IsInteractive(
false),
21 m_PrintToConsole(
true),
32 FATAL(
"GetWindowsDirectoryW failed\n");
57 unsigned long tmp_RepeatCount;
96 if (tmp_RepeatCount == 0 || tmp_RepeatCount > 10000)
152 ss << KERNEL_VERSION_COMMIT_HASH;
166 FATAL(
"GetVersionExW failed\n");
169 EXCEPTION(
"Application requires at least Windows 2000!\n");
180 << os.wServicePackMajor <<
'.'
181 << os.wServicePackMinor <<
'.'
182 << ProductType <<
'.';
228 EXCEPTION(
"SourceID is missing in the configuration file\n");
237 EXCEPTION(
"Password is missing in the configuration file\n");
void(WINAPI * GETSYSINFO)(LPSYSTEM_INFO)
#define CONFIGURATION_FILENAMEW
#define CONFIGURATION_FILENAMEA
unsigned long m_RepeatCount
void GetSystemInformation()
void GetConfigurationFromFile()
string m_SystemInfoRequestString
void ParseParameters(int argc, wchar_t *argv[])
string m_AuthenticationRequestString
#define GetEnvironmentVariableW(x, y, z)
#define GetProcAddress(x, y)
DWORD WINAPI GetFileAttributesW(LPCWSTR lpFileName)
DWORD WINAPI GetModuleFileNameW(HINSTANCE hModule, LPWSTR lpFilename, DWORD nSize)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
UINT WINAPI GetWindowsDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
BOOL WINAPI GetVersionExW(IN LPOSVERSIONINFOW lpVersionInformation)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_ unsigned long __cdecl wcstoul(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
_Check_return_ _CRTIMP int __cdecl _wtoi(_In_z_ const wchar_t *_Str)
string GetINIValue(PCWCH AppName, PCWCH KeyName, PCWCH FileName)
#define EXCEPTION(Message)
string UnicodeToAscii(PCWSTR UnicodeString)
string EscapeString(const char *Input)
_In_ ULONG _In_ ULONG _In_ ULONG Length
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
_Check_return_ _CRTIMP int __cdecl _wcsnicmp(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount)
ULONG dwOSVersionInfoSize
WORD wProcessorArchitecture
#define INVALID_FILE_ATTRIBUTES
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
struct _SYSTEM_INFO * LPSYSTEM_INFO
#define VER_NT_WORKSTATION