35 {
"%I64X", ((
ULONGLONG)0x12345 << 32) | 0x67890a,
"123450067890A" },
36 {
"%I32X", ((
ULONGLONG)0x12345 << 32) | 0x67890a,
"67890A" },
37 {
"%I64d", (
ULONGLONG)543210 * 1000000,
"543210000000" },
38 {
"%I64X", (
LONGLONG)-0x12345,
"FFFFFFFFFFFEDCBB" },
39 {
"%I32x", (
LONGLONG)-0x12345,
"fffedcbb" },
40 {
"%I64u", (
LONGLONG)-123,
"18446744073709551493" },
41 {
"%Id", (
LONGLONG)-12345,
"-12345" },
43 {
"%Ix", ((
ULONGLONG)0x12345 << 32) | 0x67890a,
"123450067890a" },
44 {
"%Ix", (
LONGLONG)-0x12345,
"fffffffffffedcbb" },
45 {
"%p", (
LONGLONG)-0x12345,
"FFFFFFFFFFFEDCBB" },
47 {
"%Ix", ((
ULONGLONG)0x12345 << 32) | 0x67890a,
"67890a" },
48 {
"%Ix", (
LONGLONG)-0x12345,
"fffedcbb" },
49 {
"%p", (
LONGLONG)-0x12345,
"FFFEDCBB" },
60 ok(rc == 10,
"wsprintfA length failure: rc=%d error=%d\n",rc,
GetLastError());
62 "wsprintfA zero padded negative value failure: buf=[%s]\n",
buf);
66 win_skip(
"I64 formats not supported\n" );
79 static const WCHAR fmt_010ld[] = {
'%',
'0',
'1',
'0',
'l',
'd',
'\0'};
80 static const WCHAR res_010ld[] = {
'-',
'0',
'0',
'0',
'0',
'0',
'0',
'0',
'0',
'1',
'\0'};
81 static const WCHAR fmt_I64x[] = {
'%',
'I',
'6',
'4',
'x',0};
89 win_skip(
"wsprintfW is not implemented\n");
92 ok(rc == 10,
"wsPrintfW length failure: rc=%d error=%d\n",rc,
GetLastError());
94 "wsprintfW zero padded negative value failure\n");
98 win_skip(
"I64 formats not supported\n" );
106 ok(rc ==
lstrlenW(
res),
"%u: wsprintfW length failure: rc=%d\n",
i, rc);
122 if ((
out >> 16) != 0)
128 ok(!failed,
"CharUpper failed - 16bit input (0x%0lx) returned 32bit result (0x%0lx)\n",
i,
out);
139 if ((
out >> 16) != 0)
145 ok(!failed,
"CharLower failed - 16bit input (0x%0lx) returned 32bit result (0x%0lx)\n",
i,
out);
int strcmp(const char *String1, const char *String2)
ACPI_SIZE strlen(const char *String)
#define ERROR_CALL_NOT_IMPLEMENTED
#define MultiByteToWideChar
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
int WINAPI lstrcmpA(LPCSTR str1, LPCSTR str2)
GLenum GLuint GLenum GLsizei const GLchar * buf
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
static const struct @1736 i64_formats[]
static void wsprintfATest(void)
static void CharLowerTest(void)
static void CharUpperTest(void)
static void wsprintfWTest(void)
DWORD WINAPI GetLastError(void)
int WINAPIV wsprintfW(_Out_ LPWSTR, _In_ _Printf_format_string_ LPCWSTR,...)
LPSTR WINAPI CharLowerA(_Inout_ LPSTR)
LPSTR WINAPI CharUpperA(_Inout_ LPSTR)
int WINAPIV wsprintfA(_Out_ LPSTR, _In_ _Printf_format_string_ LPCSTR,...)