#include <wine/test.h>
#include <tchar.h>
#include <pseh/pseh2.h>
#include <ndk/mmfuncs.h>
#include <ndk/rtlfuncs.h>
Go to the source code of this file.
◆ EndSeh
◆ ok_ulong
Value: do { \
unsigned long _value = (expression); \
ok(_value == (
result),
"Wrong value for '%s', expected: " #
result " (%lu), got: %lu\n", \
#expression, (
unsigned long)(
result), _value); \
} while (0)
Definition at line 18 of file tcstoul.h.
◆ StartSeh
◆ WIN32_NO_STATUS
◆ START_TEST()
Definition at line 25 of file tcstoul.h.
26{
31 struct
32 {
34 int ExpectedLength0;
36 int ExpectedLength10;
39 {
40 {
_T(
""), 0, 0, 0, 0 },
41 {
_T(
" "), 0, 0, 0, 0 },
42 {
_T(
" 0"), 2, 0, 2, 0 },
43 {
_T(
"0 "), 1, 0, 1, 0 },
44 {
_T(
"0"), 1, 0, 1, 0 },
45 {
_T(
"1"), 1, 1, 1, 1 },
46 {
_T(
"10"), 2, 10, 2, 10 },
47 {
_T(
"01"), 2, 1, 2, 1 },
48 {
_T(
"010"), 3, 8, 3, 10 },
49 {
_T(
"08"), 1, 0, 2, 8 },
50 {
_T(
"008"), 2, 0, 3, 8 },
51 {
_T(
"-1"), 2, -1, 2, -1 },
52 {
_T(
"+1"), 2, 1, 2, 1 },
53 {
_T(
"--1"), 0, 0, 0, 0 },
54 {
_T(
"++1"), 0, 0, 0, 0 },
55 {
_T(
"0a"), 1, 0, 1, 0 },
56 {
_T(
"0x"), 0, 0, 1, 0 },
57 {
_T(
"0x0"), 3, 0, 1, 0 },
58 {
_T(
"0xFFFFFFFF"), 10, -1, 1, 0 },
59 {
_T(
"0xFFFFFFFFF"),11, -1, 1, 0 },
60 {
_T(
"4294967295"), 10, -1, 10, -1 },
61 {
_T(
"4294967296"), 10, -1, 10, -1 },
62 {
_T(
"4294967297"), 10, -1, 10, -1 },
63 {
_T(
"42949672951"),11, -1, 11, -1 },
64 };
67
71
76
81
84
85 for (
i = 0;
i < TestCount;
i++)
86 {
87#ifdef _UNICODE
89#else
91#endif
92 End = &Dummy;
96
97 End = &Dummy;
101 }
102}
#define ok_ptr(expression, result)
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
#define STATUS_ACCESS_VIOLATION
#define ok_ulong(expression, result)
#define EndSeh(ExpectedStatus)
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO