Go to the source code of this file.
◆ START_TEST()
Definition at line 4 of file CreateIconFromResourceEx.c.
5{
8 HRSRC hResource;
9 HRSRC hMem;
12 int wResId;
13
16
19
20
22 "TESTCURSOR",
24 ok(hResource !=
NULL,
"\n");
25
28
30 ok(lpResource !=
NULL,
"\n");
31
32
33
36 ok(hcur2 != hcur1,
"\n");
39 ok(hcur2 != hcur1,
"\n");
40
41
46
47
52 ok(
err == 0x0badf00d,
"err: %lu\n",
err);
53
54
56 ok(wResId != 0,
"\n");
58
60 ok(hResource !=
NULL,
"\n");
61
64
66 ok(lpResource !=
NULL,
"\n");
67
68
69
72 ok(hcur2 != hcur1,
"\n");
75 ok(hcur2 != hcur1,
"\n");
76
77
82
83
88 ok(
err == 0x0badf00d,
"err: %lu\n",
err);
89}
BOOL WINAPI FreeResource(HGLOBAL handle)
HRSRC WINAPI FindResourceA(HMODULE hModule, LPCSTR name, LPCSTR type)
DWORD WINAPI SizeofResource(HINSTANCE hModule, HRSRC hRsrc)
LPVOID WINAPI LockResource(HGLOBAL handle)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
DWORD WINAPI GetLastError(void)
BOOL WINAPI DestroyCursor(_In_ HCURSOR)
HICON WINAPI CreateIconFromResourceEx(_In_reads_bytes_(dwResSize) PBYTE presbits, _In_ DWORD dwResSize, _In_ BOOL fIcon, _In_ DWORD dwVer, _In_ int cxDesired, _In_ int cyDesired, _In_ UINT Flags)
int WINAPI LookupIconIdFromDirectoryEx(_In_reads_bytes_(sizeof(NEWHEADER)) PBYTE, _In_ BOOL, _In_ int, _In_ int, _In_ UINT)
#define MAKEINTRESOURCEA(i)