ReactOS  0.4.13-dev-249-gcba1a2f
icontest.c File Reference
#include <windows.h>
#include "resource.h"
#include <string.h>
#include <stdio.h>
Include dependency graph for icontest.c:

Go to the source code of this file.

Functions

ULONG __cdecl DbgPrint (IN PCH Format, IN ...)
 
LRESULT WINAPI MainWndProc (HWND, UINT, WPARAM, LPARAM)
 
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
 

Variables

const char titleDrwIco [] = "DrawIcon Output"
 
const char titleMask [] = "Mask(AND image)"
 
const char titleXor [] = "XOR(color image)"
 
const char file [] = "Icon from file:"
 
const char res [] = "Icon from Resource:"
 
const char cursor [] = "Current Cursor:"
 
const char cursormask [] = "Cursor Mask Bitmap"
 
const char cursorcolor [] = "Cursor Color Bitmap"
 
HFONT tf
 
HINSTANCE hInst
 

Function Documentation

◆ DbgPrint()

ULONG __cdecl DbgPrint ( IN PCH  Format,
IN ...   
)

Referenced by WinMain().

◆ MainWndProc()

LRESULT WINAPI MainWndProc ( HWND  hWnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 88 of file icontest.c.

89 {
90  PAINTSTRUCT ps;
91  HDC hDC;
92  HICON hIcon;
93  HGDIOBJ hOld;
94  HDC hMemDC;
95  CURSORINFO cursorinfo;
96  ICONINFO iconinfo;
97  BITMAP bmp;
98  RECT rc;
99  CHAR str[20];
100 
101  switch(msg)
102  {
103  case WM_PAINT:
104  hDC = BeginPaint(hWnd, &ps);
105  SelectObject(hDC, tf);
107 
108  TextOut(hDC, 160, 10, file, strlen(file));
110  TextOut(hDC, 160, 85, titleMask, strlen(titleMask));
111  TextOut(hDC, 300, 85, titleXor, strlen(titleXor));
112 
114  DrawIcon(hDC,50,50,hIcon);
115 
116  hMemDC = CreateCompatibleDC(hDC);
117  GetIconInfo(hIcon, &iconinfo);
119 
120  hOld = SelectObject(hMemDC, iconinfo.hbmMask);
121  BitBlt(hDC, 200, 50, 32, 32, hMemDC, 0, 0, SRCCOPY);
122  SelectObject(hMemDC, iconinfo.hbmColor);
123  BitBlt(hDC, 350, 50, 32, 32, hMemDC, 0, 0, SRCCOPY);
124 
125  DeleteObject(iconinfo.hbmMask);
126  DeleteObject(iconinfo.hbmColor);
127 
128  TextOut(hDC, 145, 150, res, strlen(res));
130  TextOut(hDC, 160, 225, titleMask, strlen(titleMask));
131  TextOut(hDC, 300, 225, titleXor, strlen(titleXor));
132 
134  DrawIcon(hDC,50,190,hIcon);
135 
136  GetIconInfo(hIcon, &iconinfo);
138 
139  SelectObject(hMemDC, iconinfo.hbmMask);
140  BitBlt(hDC, 200, 190, 32, 32, hMemDC, 0, 0, SRCCOPY);
141  SelectObject(hMemDC, iconinfo.hbmColor);
142  BitBlt(hDC, 350, 190, 32, 32, hMemDC, 0, 0, SRCCOPY);
143 
144  DeleteObject(iconinfo.hbmMask);
145  DeleteObject(iconinfo.hbmColor);
146 
147  cursorinfo.cbSize = sizeof(CURSORINFO);
148  if(GetCursorInfo(&cursorinfo))
149  {
150  if(cursorinfo.hCursor && cursorinfo.flags)
151  {
152  TextOut(hDC, 160, 290, cursor, strlen(cursor));
153  DrawIcon(hDC, 50, 330, cursorinfo.hCursor);
154  GetIconInfo(cursorinfo.hCursor, &iconinfo);
156 
157  sprintf(str, "Hotspot: %ld; %ld", iconinfo.xHotspot, iconinfo.yHotspot);
158  TextOut(hDC, 15, 380, str, strlen(str));
159 
160  if(iconinfo.hbmMask)
161  {
162  GetObjectW(iconinfo.hbmMask, sizeof(BITMAP), &bmp);
163  SelectObject(hMemDC, iconinfo.hbmMask);
164  BitBlt(hDC, 200, 330, bmp.bmWidth, bmp.bmHeight, hMemDC, 0, 0, SRCCOPY);
165  DeleteObject(iconinfo.hbmMask);
166  TextOut(hDC, 160, 365 - 32 + bmp.bmHeight, cursormask, strlen(cursormask));
167 
168  sprintf(str, "%dBPP", bmp.bmBitsPixel);
169  TextOut(hDC, 160, 380 - 32 + bmp.bmHeight, str, strlen(str));
170  }
171 
172  if(iconinfo.hbmColor)
173  {
174  GetObjectW(iconinfo.hbmColor, sizeof(BITMAP), &bmp);
175  SelectObject(hMemDC, iconinfo.hbmColor);
176  BitBlt(hDC, 350, 330, bmp.bmWidth, bmp.bmHeight, hMemDC, 0, 0, SRCCOPY);
177  DeleteObject(iconinfo.hbmColor);
178  TextOut(hDC, 300, 365 - 32 + bmp.bmHeight, cursorcolor, strlen(cursorcolor));
179 
180  sprintf(str, "%dBPP", bmp.bmBitsPixel);
181  TextOut(hDC, 300, 380 - 32 + bmp.bmHeight, str, strlen(str));
182  }
183  }
184  }
185 
186  SelectObject(hMemDC, hOld);
187 
188  DeleteObject(hMemDC);
189  EndPaint(hWnd, &ps);
190  break;
191 
192  case WM_TIMER:
193  rc.left = 0;
194  rc.top = 330;
195  rc.right = 480;
196  rc.bottom = 480;
197  InvalidateRect(hWnd, &rc, TRUE);
198  break;
199 
200  case WM_DESTROY:
201  PostQuitMessage(0);
202  break;
203 
204  default:
205  return DefWindowProc(hWnd, msg, wParam, lParam);
206  }
207  return 0;
208 }
#define IDI_ICON
Definition: resource.h:5
#define MAKEINTRESOURCE
Definition: winuser.h:591
static HICON
Definition: imagelist.c:84
#define TRUE
Definition: types.h:120
#define IMAGE_ICON
Definition: winuser.h:212
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
BOOL WINAPI DestroyIcon(_In_ HICON)
Definition: cursoricon.c:2022
#define LR_LOADFROMFILE
Definition: winuser.h:1082
DWORD yHotspot
Definition: winuser.h:3078
char CHAR
Definition: xmlstorage.h:175
static HDC
Definition: imagelist.c:92
HWND hWnd
Definition: settings.c:17
LONG top
Definition: windef.h:292
HFONT tf
Definition: icontest.c:17
struct tagCURSORINFO CURSORINFO
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
Definition: dc.c:1497
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
HINSTANCE hInst
Definition: icontest.c:18
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
LONG left
Definition: windef.h:291
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
LONG right
Definition: windef.h:293
static VOID NTAPI BitBlt(IN ULONG Left, IN ULONG Top, IN ULONG Width, IN ULONG Height, IN PUCHAR Buffer, IN ULONG BitsPerPixel, IN ULONG Delta)
Definition: vga.c:416
BOOL WINAPI GetIconInfo(_In_ HICON, _Out_ PICONINFO)
Definition: cursoricon.c:2014
WPARAM wParam
Definition: combotst.c:138
#define sprintf(buf, format,...)
Definition: sprintf.c:55
int WINAPI SetBkMode(_In_ HDC, _In_ int)
Definition: dc.c:1032
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
HBITMAP hbmMask
Definition: winuser.h:3079
#define TRANSPARENT
Definition: wingdi.h:949
const WCHAR * str
smooth NULL
Definition: ftsmooth.c:416
HBITMAP hbmColor
Definition: winuser.h:3080
#define DefWindowProc
Definition: ros2win.h:31
#define WM_DESTROY
Definition: winuser.h:1591
BOOL WINAPI GetCursorInfo(_Inout_ PCURSORINFO)
const char titleDrwIco[]
Definition: icontest.c:8
#define LR_DEFAULTSIZE
Definition: winuser.h:1084
DWORD xHotspot
Definition: winuser.h:3077
#define WM_TIMER
Definition: winuser.h:1718
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
const char titleMask[]
Definition: icontest.c:9
BITMAP bmp
Definition: alphablend.c:62
#define WM_PAINT
Definition: winuser.h:1602
HCURSOR hCursor
Definition: winuser.h:3663
static HDC hDC
Definition: 3dtext.c:33
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
BOOL WINAPI DrawIcon(_In_ HDC, _In_ int, _In_ int, _In_ HICON)
Definition: cursoricon.c:1987
const char cursor[]
Definition: icontest.c:13
HICON hIcon
Definition: msconfig.c:44
Definition: bl.h:1331
const char cursormask[]
Definition: icontest.c:14
DWORD cbSize
Definition: winuser.h:3661
#define msg(x)
Definition: auth_time.c:54
const char cursorcolor[]
Definition: icontest.c:15
GLuint res
Definition: glext.h:9613
#define TextOut
Definition: wingdi.h:4461
LONG bottom
Definition: windef.h:294
#define LoadImage
Definition: winuser.h:5681
DWORD flags
Definition: winuser.h:3662
LPARAM lParam
Definition: combotst.c:139
const char titleXor[]
Definition: icontest.c:10
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
#define SRCCOPY
Definition: wingdi.h:332
Definition: fci.c:126

Referenced by WinMain().

◆ WinMain()

int WINAPI WinMain ( HINSTANCE  hInstance,
HINSTANCE  hPrevInstance,
LPSTR  lpszCmdLine,
int  nCmdShow 
)

Definition at line 23 of file icontest.c.

27 {
28  WNDCLASS wc;
29  MSG msg;
30  HWND hWnd;
31 
32  hInst = hInstance;
33 
34  #ifdef _GetCursorInfo
35  GetCursorInfo = (GETCURSORINFO)GetProcAddress(GetModuleHandleW(L"user32.dll"), "GetCursorInfo");
36  #endif
37 
38  wc.lpszClassName = "IconTestClass";
41  wc.hInstance = hInstance;
44  wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
45  wc.lpszMenuName = NULL;
46  wc.cbClsExtra = 0;
47  wc.cbWndExtra = 0;
48  if (RegisterClass(&wc) == 0)
49  {
50  DbgPrint("RegisterClass failed (last error 0x%X)\n", GetLastError());
51  return(1);
52  }
53 
54  hWnd = CreateWindow("IconTestClass",
55  "Icon Test",
59  480,
60  480,
61  NULL,
62  NULL,
63  hInstance,
64  NULL);
65  if (hWnd == NULL)
66  {
67  DbgPrint("CreateWindow failed (last error 0x%X)\n", GetLastError());
68  return(1);
69  }
70 
74 
75  ShowWindow(hWnd, nCmdShow);
76 
77  SetTimer(hWnd, 1, 1000, NULL);
78 
79  while(GetMessage(&msg, NULL, 0, 0))
80  {
83  }
84 
85  return msg.wParam;
86 }
#define DispatchMessage
Definition: winuser.h:5631
BOOL WINAPI TranslateMessage(_In_ const MSG *)
const CHAR * LPCTSTR
Definition: xmlstorage.h:193
#define DEFAULT_QUALITY
Definition: wingdi.h:435
#define CreateWindow
Definition: winuser.h:5620
#define FF_DONTCARE
Definition: wingdi.h:447
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM)
Definition: icontest.c:88
TW_UINT32 TW_UINT16 TW_UINT16 MSG
Definition: twain.h:1827
HWND hWnd
Definition: settings.c:17
HFONT tf
Definition: icontest.c:17
int cbClsExtra
Definition: winuser.h:3118
DWORD WINAPI GetLastError(VOID)
Definition: except.c:1059
#define CS_HREDRAW
Definition: winuser.h:648
LPCSTR lpszMenuName
Definition: winuser.h:3124
HINSTANCE hInst
Definition: icontest.c:18
#define IDI_APPLICATION
Definition: winuser.h:699
HBRUSH hbrBackground
Definition: winuser.h:3123
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
int cbWndExtra
Definition: winuser.h:3119
HINSTANCE hInstance
Definition: charmap.c:20
#define FIXED_PITCH
Definition: wingdi.h:443
#define TA_BASELINE
Definition: wingdi.h:927
#define CLIP_DEFAULT_PRECIS
Definition: wingdi.h:425
HCURSOR hCursor
Definition: winuser.h:3122
#define CW_USEDEFAULT
Definition: winuser.h:225
smooth NULL
Definition: ftsmooth.c:416
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
BOOL WINAPI GetCursorInfo(_Inout_ PCURSORINFO)
#define CS_VREDRAW
Definition: winuser.h:653
#define OUT_DEFAULT_PRECIS
Definition: wingdi.h:414
#define WS_HSCROLL
Definition: pedump.c:628
static const WCHAR L[]
Definition: oid.c:1250
#define COLOR_BTNFACE
Definition: winuser.h:918
LPCSTR lpszClassName
Definition: winuser.h:3125
#define LoadCursor
Definition: winuser.h:5678
HFONT WINAPI CreateFontA(_In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPCSTR)
UINT style
Definition: winuser.h:3116
HINSTANCE hInstance
Definition: winuser.h:3120
ULONG __cdecl DbgPrint(IN PCH Format, IN ...)
#define WS_VSCROLL
Definition: pedump.c:627
#define GetMessage
Definition: winuser.h:5656
#define FW_NORMAL
Definition: wingdi.h:372
WNDPROC lpfnWndProc
Definition: winuser.h:3117
#define msg(x)
Definition: auth_time.c:54
#define IDC_ARROW
Definition: winuser.h:682
#define WS_OVERLAPPEDWINDOW
Definition: pedump.c:637
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
Definition: loader.c:845
#define GetProcAddress(x, y)
Definition: compat.h:410
#define RegisterClass
Definition: winuser.h:5702
#define LoadIcon
Definition: winuser.h:5679
#define ANSI_CHARSET
Definition: wingdi.h:382
HICON hIcon
Definition: winuser.h:3121

Variable Documentation

◆ cursor

const char cursor[] = "Current Cursor:"

Definition at line 13 of file icontest.c.

Referenced by _bdf_readstream(), abort_dochost_tasks(), ACTION_FinishCustomActions(), ACTION_InstallFiles(), ACTION_PatchFiles(), apartment_disconnectproxies(), apartment_findfromoxid(), apartment_findfromtid(), apartment_release(), BmpFrameDecode_ReadRLE4(), BmpFrameDecode_ReadRLE8(), cache_basic_authorization(), cache_get_cursor(), cache_put_cursor(), callback_child(), cctrl_event_OnButtonClicked(), cctrl_event_OnCheckButtonToggled(), cctrl_event_OnControlActivating(), cctrl_event_OnItemSelected(), CertAddStoreToCollection(), cfgets(), co_IntShellHookNotify(), COM_RevokeAllClasses(), Compartment_SetValue(), CompartmentEnumGuid_Next(), CompartmentMgr_ClearCompartment(), CompartmentMgr_Destructor(), CompartmentMgr_GetCompartment(), ComponentEnum_Release(), ContextPropertyList_EnumPropIDs(), CorDebug_Terminate(), CreateCursor(), CryptInitOIDFunctionSet(), destroy_format(), DragList_SubclassWindowProc(), EDIT_ImeComposition(), empty_redo_stack(), events_OnFileOk(), events_OnFolderChange(), events_OnFolderChanging(), events_OnOverwrite(), events_OnSelectionChange(), events_OnTypeChange(), find_proxy_manager(), fnTextSrv_TxSetText(), free_assembly(), free_extension(), free_feature(), free_folder(), free_package_structures(), free_parsed_config_file(), FT_Stream_ReadFields(), get_cookie(), get_stub_manager(), get_stub_manager_from_ipid(), get_stub_manager_from_object(), gl_fixup(), handle_enter(), IAssemblyEnumImpl_Release(), IMAPIPROP_GetValue(), InputProcessorProfiles_ChangeCurrentLanguage(), IPropData_fnGetPropList(), IPropData_fnHrGetPropAccess(), IRichEditOle_fnGetObject(), itemize_para(), ITextRange_fnGetChar(), ITextRange_fnScrollIntoView(), ITextRange_fnSetText(), KeystrokeMgr_IsPreservedKey(), KeystrokeMgr_PreserveKey(), KeystrokeMgr_UnpreserveKey(), lz_analyze_block(), lzx_write_compressed_literals(), MainWndProc(), ME_Char(), ME_CharFromPos(), ME_EmptyUndoStack(), ME_FindNextURLCandidate(), ME_FindRunInRow(), ME_FindText(), ME_GetCursorOfs(), ME_GetSelectionType(), ME_GetTextLength(), ME_HandleMessage(), ME_InsertEndParaFromCursor(), ME_InsertRunAtCursor(), ME_InternalDeleteText(), ME_LinkNotify(), ME_MoveCursorChars(), ME_MoveCursorWords(), ME_RTFParAttrHook(), ME_SetCursor(), ME_SetCursorToEnd(), ME_SetCursorToStart(), ME_SplitRunSimple(), ME_StreamOutRTF(), ME_StreamOutText(), merge_free_rows(), mi_destroy_cursor(), mi_set_cursor(), MimeBody_DeleteProp(), MsiDatabaseMergeW(), OutputQueue_FreeSamples(), OutputQueueImpl_ThreadProc(), poll_queries(), process_colour_pointer_common(), process_colour_pointer_pdu(), PropertyStore_Release(), proxy_manager_destroy(), proxy_manager_disconnect(), proxy_manager_find_ifproxy(), PS_Conv_ASCIIHexDecode(), PS_Conv_EexecDecode(), PS_Conv_Strtol(), PS_Conv_ToFixed(), PS_Conv_ToInt(), ps_table_add(), psh_hint_table_activate_mask(), psh_hint_table_record_mask(), radiobuttonlist_set_selected_item(), range_GetChar(), ReadByte(), RPC_UnregisterAllChannelHooks(), RunningObjectTableImpl_Destroy(), RunningObjectTableImpl_Release(), RuntimeHost_Destroy(), split_run_extents(), StdMemAllocator_Free(), stub_manager_delete(), stub_manager_ipid_to_ifstub(), test_child_process(), test_DestroyCursor(), test_enter(), test_enumerate(), test_initial_cursor(), test_SetCursor(), TextStoreACPSink_OnLockGranted(), ThreadFocusHookProc(), ThreadMgr_AssociateFocus(), ThreadMgr_Destructor(), ThreadMgr_OnDocumentMgrDestruction(), ThreadMgrEventSink_OnInitDocumentMgr(), ThreadMgrEventSink_OnPopContext(), ThreadMgrEventSink_OnPushContext(), ThreadMgrEventSink_OnSetFocus(), ThreadMgrEventSink_OnUninitDocumentMgr(), TransactedSnapshotImpl_CopyTree(), TransactedSnapshotImpl_DestroyTemporaryCopy(), TransactedSnapshotImpl_FindFirstChild(), ui_create_cursor(), ui_destroy_cursor(), ui_set_cursor(), UserBuildShellHookHwndList(), wined3d_device_delete_opengl_contexts_cs(), wined3d_device_evict_managed_resources(), wined3d_device_reset(), wined3d_device_set_cursor_properties(), and write_expr_eval_routine_list().

◆ cursorcolor

const char cursorcolor[] = "Cursor Color Bitmap"

Definition at line 15 of file icontest.c.

Referenced by MainWndProc().

◆ cursormask

const char cursormask[] = "Cursor Mask Bitmap"

Definition at line 14 of file icontest.c.

Referenced by MainWndProc().

◆ file

const char file[] = "Icon from file:"

Definition at line 11 of file icontest.c.

Referenced by _check_file_exists(), _check_file_not_exists(), _fcloseall(), _rmtmp(), _wfdopen(), _wfreopen(), _wfsopen(), ACTION_InstallFiles(), ACTION_InstallValidate(), ACTION_ProcessComponents(), ACTION_RefCountComponent(), ACTION_RegisterClassInfo(), ACTION_RemoveFiles(), add_async_iorequest(), add_file(), add_file_data(), add_files_to_folder(), add_wildcard(), applyPatch(), asmshader__init_buffer(), BackgroundCopyJob_AddFile(), BackgroundCopyJob_AddFileSet(), BackgroundCopyJob_Cancel(), BackgroundCopyJob_Complete(), BeginUpdateResourceW(), build_exe(), cache_container_open_index(), calculate_file_cost(), check_binary_file_data(), check_exe(), check_file_matches(), check_file_size(), CheckTestFile(), child_process(), coff_add_file(), CompleteFilename(), config_load(), copy_file(), create_and_write_file(), create_bitmap(), create_cache_entry(), create_cache_file(), create_cdf_file(), create_chm(), create_copy_error(), create_file(), create_file_data(), create_file_test(), create_fileW(), create_ico_file(), create_manifest_file(), create_snapshot2(), create_subvol(), create_temp_binary(), create_temp_file(), create_testfontfile(), CreateCaseDiff(), CreateSpecFile(), CreateTestFile(), createTestFile(), createTestFileW(), CRYPT_CreateFileStore(), CRYPT_FileNameOpenStoreW(), CRYPT_QueryEmbeddedMessageObject(), CRYPT_QuerySerializedStoreFromFile(), CRYPT_ReadBlobFromFile(), CryptCATOpen(), d3drm_texture_load(), d3dx_include_from_file_open(), DECLARE_INTERFACE(), DECLARE_INTERFACE_IID_(), deformat_file(), delete_directory(), delete_file(), delete_fileW(), dialog_print_to_file(), enum_components_create(), enum_groups_create(), EnumBackgroundCopyFiles_Next(), EnumBackgroundCopyFilesConstructor(), expect_files(), export_validate_filename(), extract_one(), FCIDestroy(), file_has_content(), file_matches(), ATL::CRegObject::file_register(), file_register(), filecoll_enumvariant_Next(), find_devices(), find_file(), fopen64_file_func(), fopen_file_func(), free_folder(), ft_ansi_stream_io(), FT_Stream_Open(), FTPChmod(), FTPDelete(), FTPFtwL2(), FTPGetOneF(), FTPPutOneF(), FTPRmdir(), FTPRmdirRecursiveL2(), fwrite(), GdipPrivateAddFontFile(), get_compsysproduct_uuid(), get_device(), get_file_size(), get_file_sizes_lz(), get_manifest_in_associated_manifest(), get_pf_file_size(), get_script_from_file(), get_script_str(), getFileSize(), getName(), getnetconfigent(), GetSplitter(), group_EnumComponents(), GRPFILE_WriteGroupFile(), HANDLE_CustomType17(), HANDLE_CustomType18(), HANDLE_CustomType21_22(), handle_mount(), hlsl__init_buffer(), ICreateTypeLib2_fnSaveAllChanges(), IDirectXFileImpl_CreateEnumObject(), IDirectXFileImpl_RegisterTemplates(), import_validate_filename(), inf_load(), InfpParseBuffer(), install_assembly(), is_existing_file(), is_zero_length(), ITERATE_BindImage(), ITERATE_DuplicateFiles(), ITERATE_InstallService(), ITERATE_RegisterFonts(), ITERATE_RegisterTypeLibraries(), ITERATE_RemoveDuplicateFiles(), ITERATE_SelfRegModules(), ITERATE_SelfUnregModules(), ITERATE_UnregisterFonts(), load_ciffile(), Load_CP2Unicode_Table(), load_dib(), load_file(), load_font(), load_mesh_data(), Load_OEM2Unicode_Table(), load_resource(), load_v6_module(), LoadBootIni(), LoadFile(), LoadIniFile(), LoadSystemIni(), lookup_assembly(), lookup_symlink(), main(), makeFile(), map_file(), map_image_section(), MediaDet_get_Filename(), memp_malloc(), move_files_wildcard(), msi_dialog_update_directory_list(), msi_export_stream(), msi_get_disk_file_size(), msi_get_loaded_file(), MSI_InstallPackage(), msi_read_text_archive(), MSI_SetTargetPathW(), MsiEnableLogW(), MsiEnumComponentCostsW(), MsiGetFileHashA(), msvcrt_alloc_fp(), msvcrt_flush_all_buffers(), nfs41_access(), nfs41_close(), nfs41_commit(), nfs41_delegreturn(), nfs41_getattr(), nfs41_link(), nfs41_lock(), nfs41_open(), nfs41_read(), nfs41_readdir(), nfs41_readlink(), nfs41_rpc_openattr(), nfs41_secinfo(), nfs41_secinfo_noname(), nfs41_setattr(), nfs41_superblock_getattr(), nfs41_symlink_follow(), nfs41_unlock(), nfs41_want_delegation(), nfs41_write(), nls_from_txt(), nsDirectoryServiceProvider2_GetFiles(), nsURL_GetDirectory(), nsURL_GetFileBaseName(), nsURL_GetFileName(), ok_callback(), OnBrowse(), OnTarget(), BtrfsRecv::Open(), open_file_test(), open_wav(), parse_buffer(), parse_file(), parse_wildcard_files(), parser__init_buffer(), pass(), PathYetAnotherMakeUniqueName(), pdb_process_internal(), PersistFile_Save(), pnfs_rpc_layoutcommit(), pnfs_rpc_layoutget(), pnfs_rpc_layoutreturn(), ppy__init_buffer(), PRINTDLG_UpdatePrintDlgA(), PRINTDLG_UpdatePrintDlgW(), process_file(), process_stabs(), processJob(), query_image_section(), r_verify_inifile(), rdpdr_process_irp(), read_file_data(), read_file_to_bstr(), RecvSubvolGUIW(), REGPROC_open_export_file(), RemoveFile(), RetrieveUrlCacheEntryStreamA(), RetrieveUrlCacheEntryStreamW(), run_child_process(), run_cmd(), run_script(), scan_specified_files(), schedule_install_files(), sendmail_extended_mapi(), server_lookup(), set_location(), SetupEnumInfSectionsA(), SetupEnumInfSectionsW(), SetupFindFirstLineW(), SetupFindNextLine(), SetupFindNextMatchLineW(), SetupGetLineByIndexW(), SetupGetLineCountW(), SetupGetLineTextA(), SetupGetLineTextW(), SetupOpenInfFileW(), sha_check(), SOFTPUB_GetMessageFromFile(), SQLWritePrivateProfileString(), START_TEST(), SymEnumLines(), test__lcreat(), test__wfopen_s(), test_bind_image_ex(), test_cache_read(), test_calchash(), test_catalog_properties(), test_create_catalog_file(), test_create_exe_imp(), test_create_ne_imp(), test_create_typelib_lcid(), test_CreateTextFile(), test_CryptCATAdminAddRemoveCatalog(), test_CryptCATOpen(), test_dib_bits_access(), test_domdoc(), test_ExitProcess(), test_ExtractIcon(), test_FakeDLL(), test_fdopen(), test_file(), test_file_in_use(), test_file_in_use_cab(), test_file_protocol(), test_file_security(), test_FileCollection(), test_filemap_security(), test_fileops(), test_filesourcefilter(), test_FindFirstChangeNotification(), test_fopen_s(), test_get_digest_stream(), test_GetFile(), test_GetFileInformationByHandleEx(), test_GetFinalPathNameByHandleA(), test_GetFinalPathNameByHandleW(), test_GetLongPathNameA(), test_GetLongPathNameW(), test_GetShortPathNameW(), test_HlinkIsShortcut(), test_http_cache(), test_image_load(), test_ioctl(), test_items(), test_listbox_dlgdir(), test_listbox_LB_DIR(), test_LocalizedNames(), test_LZCopy(), test_LZOpenFileA(), test_LZOpenFileA_existing_compressed(), test_LZOpenFileA_nonexisting_compressed(), test_LZOpenFileW(), test_LZOpenFileW_existing_compressed(), test_LZOpenFileW_nonexisting_compressed(), test_LZRead(), test_MapViewOfFile(), test_mhtml_protocol_binding(), test_named_pipe_security(), test_Next_walkList_1(), test_Next_walkListNull(), test_NtAreMappedFilesTheSame(), test_NtMapViewOfSection(), test_NtQuerySection(), test_ole_initialization(), test_OleLoadPicturePath(), test_openbackup(), test_overlapped_error(), test_PathYetAnotherMakeUniqueName(), test_pipes(), test_query_recyclebin(), test_readmode(), test_readonlyfile(), test_readonlyfile_cab(), test_relative_path(), test_remove_ini_values(), test_saxreader(), test_saxreader_encoding(), test_Sdb(), test_SetFileInformationByHandle(), test_SHCreateShellItem(), test_signalandwait(), test_sip(), test_sip_create_indirect_data(), test_SIPRetrieveSubjectGUID(), test_textstream(), test_TransformWithLoadingLocalFile(), test_unicode(), test_unlink(), test_wintrust(), test_wintrust_digest(), test_write_flush(), test_WriteLine(), testAddCertificateLink(), testCollectionStore(), testFileStore(), tmpfile(), touch_file(), TRIO_ARGS2(), txt_get_glyph_table(), txt_get_header(), txt_get_mb_table(), txt_get_wc_table(), uninstall_assembly(), update_empty_exe(), urlcache_entry_create(), WinHelpW(), WINTRUST_GetSignedMsgFromPEFile(), WINTRUST_PutSignedMsgToPEFile(), wpp_close_mem(), wpp_read_mem(), write_casemap_file(), write_file(), write_files(), write_inifile(), write_manifest(), write_typelib(), write_wav(), WshShortcut_Save(), xdrstdio_create(), xmlMallocAtomicLoc(), xmlMallocLoc(), xmlMemStrdupLoc(), xmlReallocLoc(), and yy_init_buffer().

◆ hInst

HINSTANCE hInst

Definition at line 18 of file icontest.c.

Referenced by MainWndProc(), and WinMain().

◆ res

const char res[] = "Icon from Resource:"

Definition at line 12 of file icontest.c.

◆ tf

◆ titleDrwIco

const char titleDrwIco[] = "DrawIcon Output"

Definition at line 8 of file icontest.c.

Referenced by MainWndProc().

◆ titleMask

const char titleMask[] = "Mask(AND image)"

Definition at line 9 of file icontest.c.

Referenced by MainWndProc().

◆ titleXor

const char titleXor[] = "XOR(color image)"

Definition at line 10 of file icontest.c.

Referenced by MainWndProc().