70 win_skip(
"SwapPword is not available\n");
77 pSwapPword(shorts, 2);
78 ok((shorts[0] == 0x01ff && shorts[1] == 0xff10 && shorts[2] == 0x2001),
79 "Expected {0x01ff,0xff10,0x2001}, got {0x%04x,0x%04x,0x%04x}\n",
80 shorts[0], shorts[1], shorts[2]);
89 win_skip(
"SwapPlong is not available\n");
93 longs[0] = 0xffff0001;
94 longs[1] = 0x1000ffff;
95 longs[2] = 0x20000001;
97 ok((longs[0] == 0x0100ffff && longs[1] == 0xffff0010 && longs[2] == 0x20000001),
98 "Expected {0x0100ffff,0xffff0010,0x20000001}, got {0x%08x,0x%08x,0x%08x}\n",
99 longs[0], longs[1], longs[2]);
104 static char res[] = {
"000102030405060708090A0B0C0D0E0F101112131415161"
105 "718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B"
106 "3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F6"
107 "06162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F8081828384"
108 "85868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A"
109 "9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCD"
110 "CECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F"
111 "2F3F4F5F6F7F8F9FAFBFCFDFE\0X" };
117 if (!pHexFromBin || !pFBinFromHex)
119 win_skip(
"Hexadecimal conversion functions are not available\n");
123 for (
i = 0;
i < 255;
i++)
133 for (
i = 0;
i < 255;
i++)
136 ok(bOk ==
TRUE,
"FBinFromHex: Result differs\n");
143 win_skip(
"UFromSz is not available\n");
147 ok(pUFromSz(
"105679") == 105679u,
148 "UFromSz: expected 105679, got %d\n", pUFromSz(
"105679"));
150 ok(pUFromSz(
" 4") == 0,
"UFromSz: expected 0. got %d\n",
158 win_skip(
"UlFromSzHex is not available\n");
162 ok(pUlFromSzHex(
"fF") == 0xffu,
163 "UlFromSzHex: expected 0xff, got 0x%x\n", pUlFromSzHex(
"fF"));
165 ok(pUlFromSzHex(
" c") == 0,
"UlFromSzHex: expected 0x0. got 0x%x\n",
176 win_skip(
"CbOfEncoded is not available\n");
180 for (
i = 0;
i <
sizeof(
buff) - 1;
i++)
182 ULONG ulRet, ulExpected = (((
i | 3) >> 2) + 1) * 3;
186 ulRet = pCbOfEncoded(
buff);
187 ok(ulRet == ulExpected,
188 "CbOfEncoded(length %d): expected %d, got %d\n",
189 i, ulExpected, ulRet);
195 if (!pIsBadBoundedStringPtr)
197 win_skip(
"IsBadBoundedStringPtr is not available\n");
201 ok(pIsBadBoundedStringPtr(
NULL, 0) ==
TRUE,
"IsBadBoundedStringPtr: expected TRUE\n");
202 ok(pIsBadBoundedStringPtr(
"TEST", 4) ==
TRUE,
"IsBadBoundedStringPtr: expected TRUE\n");
203 ok(pIsBadBoundedStringPtr(
"TEST", 5) ==
FALSE,
"IsBadBoundedStringPtr: expected FALSE\n");
212 win_skip(
"No default mail client installed\n");
218 if (!pScInitMapiUtil || !pDeinitMapiUtil)
220 win_skip(
"MAPI utility initialization functions are not available\n");
226 ret = pScInitMapiUtil(0);
229 win_skip(
"ScInitMapiUtil is not implemented\n");
235 win_skip(
"ScInitMapiUtil doesn't work on some Win98 and WinME systems\n");
250 if (pMAPIUninitialize &&
ret ==
S_OK)
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
#define GetProcAddress(x, y)
#define ERROR_INVALID_HANDLE
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
static unsigned char buff[32768]
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
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 BOOL HaveDefaultMailClient(void)
static const char * strw(LPCWSTR x)
static void test_UFromSz(void)
static void init_function_pointers(void)
static void test_SwapPword(void)
static void test_IsBadBoundedStringPtr(void)
static void test_CbOfEncoded(void)
static void test_HexFromBin(void)
static void test_SwapPlong(void)
static void test_UlFromSzHex(void)
DWORD WINAPI GetLastError(void)
#define ERROR_PROC_NOT_FOUND