ReactOS 0.4.16-dev-2122-g1628f5e
LdrFindResource_U.c File Reference
#include "precomp.h"
Include dependency graph for LdrFindResource_U.c:

Go to the source code of this file.

Functions

static void Test_CORE_20401 (void)
 
 START_TEST (LdrFindResource_U)
 

Function Documentation

◆ START_TEST()

START_TEST ( LdrFindResource_U  )

Definition at line 27 of file LdrFindResource_U.c.

28{
30}
static void Test_CORE_20401(void)

◆ Test_CORE_20401()

static void Test_CORE_20401 ( void  )
static

Definition at line 10 of file LdrFindResource_U.c.

11{
16
17 // Use LdrFindResource_U to find a bitmap resource called "NORMAL_FRAMECAPTION_BMP"
18 // CORE-20401 resulted in wrong comparison of strings containing underscores.
19 // If the test fails, the resource name comparison is probably broken (again).
20 info.Type = 2; // RT_BITMAP;
21 info.Name = (ULONG_PTR)L"NORMAL_FRAMECAPTION_BMP";
25}
#define ok_ntstatus(status, expected)
Definition: atltest.h:135
LONG NTSTATUS
Definition: precomp.h:26
#define NULL
Definition: types.h:112
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
Definition: loader.c:838
#define L(x)
Definition: resources.c:13
#define ULONG_PTR
Definition: config.h:101
Status
Definition: gdiplustypes.h:25
uint32_t entry
Definition: isohybrid.c:63
NTSTATUS NTAPI LdrFindResource_U(_In_ PVOID BaseAddress, _In_ PLDR_RESOURCE_INFO ResourceInfo, _In_ ULONG Level, _Out_ PIMAGE_RESOURCE_DATA_ENTRY *ResourceDataEntry)
static PEXPLICIT_ACCESSW *static HMODULE hmod
Definition: security.c:143
#define LANG_NEUTRAL
Definition: nls.h:22
#define MAKELANGID(p, s)
Definition: nls.h:15
#define SUBLANG_NEUTRAL
Definition: nls.h:167
#define STATUS_SUCCESS
Definition: shellext.h:65
Definition: pedump.c:458

Referenced by START_TEST().