ReactOS 0.4.16-dev-1983-g1a17364
_wcslwr.c File Reference
#include <apitest.h>
#include <pseh/pseh2.h>
#include <ndk/umtypes.h>
Include dependency graph for _wcslwr.c:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 

Typedefs

typedef wchar_t *(__cdeclPFN_wcslwr) (wchar_t *_String)
 

Functions

static BOOL Init (void)
 
 START_TEST (_wcslwr)
 

Variables

static PFN_wcslwr p_wcslwr
 

Macro Definition Documentation

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 8 of file _wcslwr.c.

Typedef Documentation

◆ PFN_wcslwr

typedef wchar_t *(__cdecl * PFN_wcslwr) (wchar_t *_String)

Definition at line 13 of file _wcslwr.c.

Function Documentation

◆ Init()

static BOOL Init ( void  )
static

Definition at line 16 of file _wcslwr.c.

17{
20 ok(p_wcslwr != NULL, "Failed to load _wcslwr from %s\n", TEST_DLL_NAME);
21 return (p_wcslwr != NULL);
22}
wchar_t *(__cdecl * PFN_wcslwr)(wchar_t *_String)
Definition: _wcslwr.c:13
static PFN_wcslwr p_wcslwr
Definition: _wcslwr.c:14
#define ok(value,...)
Definition: atltest.h:57
#define NULL
Definition: types.h:112
#define GetProcAddress(x, y)
Definition: compat.h:753
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
Definition: loader.c:111
#define TEST_DLL_NAME
Definition: wsprintf.c:3
static PVOID hdll
Definition: shimdbg.c:126

Referenced by START_TEST().

◆ START_TEST()

START_TEST ( _wcslwr  )

Definition at line 24 of file _wcslwr.c.

25{
26 wchar_t *result;
27
28#ifndef TEST_STATIC_CRT
29 if (!Init())
30 {
31 skip("Skipping tests, because _wcslwr is not available\n");
32 return;
33 }
34#endif
35
36 // The NT version of _wcslwr has a NULL check (as opposed to _wcsupr)
37 StartSeh()
41}
static BOOL Init(void)
Definition: _wcslwr.c:16
#define GetNTVersion()
Definition: apitest.h:17
#define StartSeh()
Definition: apitest.h:93
#define EndSeh(ExpectedStatus)
Definition: apitest.h:99
#define skip(...)
Definition: atltest.h:64
#define ok_ptr(expression, result)
Definition: atltest.h:108
#define STATUS_ACCESS_VIOLATION
GLuint64EXT * result
Definition: glext.h:11304
#define is_reactos()
Definition: test.h:1041
#define _WIN32_WINNT_VISTA
Definition: sdkddkver.h:25
#define STATUS_SUCCESS
Definition: shellext.h:65

Variable Documentation

◆ p_wcslwr

PFN_wcslwr p_wcslwr
static

Definition at line 14 of file _wcslwr.c.

Referenced by Init(), InitFunctionPtrs(), START_TEST(), and test_wcslwrupr().