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");
#define VER_NT_WORKSTATION
DWORD WINAPI GetModuleFileNameW(HINSTANCE hModule, LPWSTR lpFilename, DWORD nSize)
ULONG dwOSVersionInfoSize
_In_ ULONG _In_ ULONG _In_ ULONG Length
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
void(WINAPI * GETSYSINFO)(LPSYSTEM_INFO)
_Check_return_ _CRTIMP int __cdecl _wtoi(_In_z_ const wchar_t *_Str)
_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)
_Check_return_ unsigned long __cdecl wcstoul(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
BOOL WINAPI GetVersionExW(IN LPOSVERSIONINFOW lpVersionInformation)
UINT WINAPI GetWindowsDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
string m_SystemInfoRequestString
DWORD WINAPI GetFileAttributesW(LPCWSTR lpFileName)
void ParseParameters(int argc, wchar_t *argv[])
#define EXCEPTION(Message)
unsigned long m_RepeatCount
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
void GetConfigurationFromFile()
string UnicodeToAscii(PCWSTR UnicodeString)
string EscapeString(const char *Input)
#define INVALID_FILE_ATTRIBUTES
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
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
string GetINIValue(PCWCH AppName, PCWCH KeyName, PCWCH FileName)
struct _SYSTEM_INFO * LPSYSTEM_INFO
WORD wProcessorArchitecture
#define CONFIGURATION_FILENAMEW
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
#define GetProcAddress(x, y)
#define CONFIGURATION_FILENAMEA
#define GetEnvironmentVariableW(x, y, z)
string m_AuthenticationRequestString
void GetSystemInformation()