/reactos/modules/rostests/apitests/gdi32/ |
H A D | CreateIconIndirect.c | 9 HICON hicon; in Test_GetIconInfo() local 19 hicon = CreateIconIndirect(&iconinfo); in Test_GetIconInfo() 20 ok(hicon == 0, "should fail\n"); in Test_GetIconInfo() 23 hicon = CreateIconIndirect(&iconinfo); in Test_GetIconInfo() 24 ok(hicon != 0, "should not fail\n"); in Test_GetIconInfo() 26 ok(GetIconInfo(hicon, &iconinfo2), "\n"); in Test_GetIconInfo() 60 ok(hicon != 0, "should not fail\n"); in Test_GetIconInfo() 102 ok(hicon == 0, "should fail\n"); in Test_GetIconInfo() 107 ok(hicon == 0, "should fail\n"); in Test_GetIconInfo() 111 ok(hicon != 0, "should not fail\n"); in Test_GetIconInfo() [all …]
|
/reactos/modules/rostests/apitests/user32/ |
H A D | GetIconInfo.c | 9 HICON hicon; in Test_GetIconInfo() local 19 hicon = CreateIconIndirect(&iconinfo); in Test_GetIconInfo() 20 ok(hicon == 0, "should fail\n"); in Test_GetIconInfo() 23 hicon = CreateIconIndirect(&iconinfo); in Test_GetIconInfo() 24 ok(hicon != 0, "should not fail\n"); in Test_GetIconInfo() 59 ok(DestroyIcon(hicon), "\n"); in Test_GetIconInfo() 63 ok(hicon != 0, "should not fail\n"); in Test_GetIconInfo() 101 ok(DestroyIcon(hicon), "\n"); in Test_GetIconInfo() 106 ok(hicon == 0, "should fail\n"); in Test_GetIconInfo() 111 ok(hicon == 0, "should fail\n"); in Test_GetIconInfo() [all …]
|
H A D | DestroyCursorIcon.c | 6 HICON hicon; in START_TEST() local 20 hicon = CreateIconIndirect(&iconinfo); in START_TEST() 21 ok(hicon != 0, "should not fail\n"); in START_TEST() 22 ok(DestroyCursor(hicon), "\n"); in START_TEST() 23 ok(!DestroyIcon(hicon), "\n"); in START_TEST()
|
/reactos/modules/rostests/winetests/shell32/ |
H A D | shelllink.c | 1270 ok(hicon == NULL, "Got icon %p\n", hicon); in test_ExtractIcon() 1276 ok(hicon != NULL && HandleToLong(hicon) != -1, "Got icon %p\n", hicon); in test_ExtractIcon() 1281 ok(HandleToLong(hicon) > 1 && hicon == hicon2, "Got icon %p\n", hicon); in test_ExtractIcon() 1285 ok(hicon == NULL, "Got icon %p\n", hicon); in test_ExtractIcon() 1296 ok(hicon == NULL, "Got icon %p\n", hicon); in test_ExtractIcon() 1299 ok(hicon == NULL, "Got icon %p\n", hicon); in test_ExtractIcon() 1303 ok(hicon == NULL, "Got icon %p\n", hicon); in test_ExtractIcon() 1313 ok(hicon == NULL, "Got icon %p\n", hicon); in test_ExtractIcon() 1320 ok(hicon != NULL && HandleToLong(hicon) != -1, "Got icon %p\n", hicon); in test_ExtractIcon() 1329 ok(HandleToLong(hicon) > 1 && hicon == hicon2, "Got icon %p\n", hicon); in test_ExtractIcon() [all …]
|
/reactos/win32ss/user/user32/controls/ |
H A D | static.c | 103 if (hicon && !get_icon_size( hicon, &size )) in STATIC_SetIcon() 214 HICON hicon = 0; in STATIC_LoadIconA() local 222 hicon = LoadIconA( hInstance, name ); in STATIC_LoadIconA() 223 if (!hicon) hicon = LoadCursorA( hInstance, name ); in STATIC_LoadIconA() 226 if (!hicon) hicon = LoadIconA( 0, name ); in STATIC_LoadIconA() 230 return hicon; in STATIC_LoadIconA() 240 HICON hicon = 0; in STATIC_LoadIconW() local 248 hicon = LoadIconW( hInstance, name ); in STATIC_LoadIconW() 249 if (!hicon) hicon = LoadCursorW( hInstance, name ); in STATIC_LoadIconW() 252 if (!hicon) hicon = LoadIconW( 0, name ); in STATIC_LoadIconW() [all …]
|
/reactos/dll/win32/comctl32/ |
H A D | static.c | 123 static HICON STATIC_SetIcon( HWND hwnd, HICON hicon, DWORD style ) in STATIC_SetIcon() argument 129 if (hicon && !get_icon_size( hicon, &size )) in STATIC_SetIcon() 134 prevIcon = (HICON)SetWindowLongPtrW( hwnd, HICON_GWL_OFFSET, (LONG_PTR)hicon ); in STATIC_SetIcon() 135 if (hicon && !(style & SS_CENTERIMAGE) && !(style & SS_REALSIZECONTROL)) in STATIC_SetIcon() 241 HICON hicon = 0; in STATIC_LoadIconW() local 246 hicon = LoadImageW(hInstance, name, IMAGE_ICON, 0, 0, LR_SHARED); in STATIC_LoadIconW() 249 hicon = LoadIconW( hInstance, name ); in STATIC_LoadIconW() 250 if (!hicon) hicon = LoadCursorW( hInstance, name ); in STATIC_LoadIconW() 253 if (!hicon) hicon = LoadIconW( 0, name ); in STATIC_LoadIconW() 257 return hicon; in STATIC_LoadIconW()
|
H A D | taskdialog.c | 489 HICON hicon; in taskdialog_set_icon() local 495 hicon = icon; in taskdialog_set_icon() 503 …hicon = LoadImageW(dialog_info->taskconfig->hInstance, (LPCWSTR)icon, IMAGE_ICON, cx, cy, LR_SHARE… in taskdialog_set_icon() 504 if (!hicon) in taskdialog_set_icon() 505 … hicon = LoadImageW(NULL, (LPCWSTR)taskdialog_get_standard_icon((LPCWSTR)icon), IMAGE_ICON, cx, cy, in taskdialog_set_icon() 509 if (!hicon) return; in taskdialog_set_icon() 513 SendMessageW(dialog_info->hwnd, WM_SETICON, (WPARAM)ICON_BIG, (LPARAM)hicon); in taskdialog_set_icon() 514 SendMessageW(dialog_info->main_icon, STM_SETICON, (WPARAM)hicon, 0); in taskdialog_set_icon() 517 SendMessageW(dialog_info->footer_icon, STM_SETICON, (WPARAM)hicon, 0); in taskdialog_set_icon()
|
/reactos/modules/rosapps/applications/explorer-old/taskbar/ |
H A D | traynotify.cpp | 1004 HICON hicon = 0; in Refresh() local 1008 hicon = 0; in Refresh() 1010 if (!hicon) { in Refresh() 1014 hicon = sfi.hIcon; in Refresh() 1020 if (hicon) in Refresh() 1021 DestroyIcon(hicon); in Refresh() 1188 if (!hicon && !entry._modulePath.empty()) { in RefreshProperties() 1191 if (!hicon) { in RefreshProperties() 1195 hicon = sfi.hIcon; in RefreshProperties() 1199 if (hicon) { in RefreshProperties() [all …]
|
/reactos/modules/rostests/winetests/comctl32/ |
H A D | button.c | 1246 HICON hicon; in test_bm_get_set_image() local 1337 ok(hicon == 0, "Expect hicon == 0\n"); in test_bm_get_set_image() 1339 ok(hicon != 0, "Expect hicon != 0\n"); in test_bm_get_set_image() 1354 ok(hicon == 0, "Expect hicon == 0\n"); in test_bm_get_set_image() 1356 ok(hicon != 0, "Expect hicon != 0\n"); in test_bm_get_set_image() 1372 ok(hicon == 0, "Expect hicon == 0\n"); in test_bm_get_set_image() 1374 ok(hicon != 0, "Expect hicon != 0\n"); in test_bm_get_set_image() 1418 ok(hicon == 0, "Expect hicon == 0\n"); in test_bm_get_set_image() 1420 ok(hicon != 0, "Expect hicon != 0\n"); in test_bm_get_set_image() 1935 HICON hicon; in test_bcm_get_ideal_size() local [all …]
|
H A D | tab.c | 1121 HICON hicon; in test_removeimage() local 1124 hicon = CreateIcon(NULL, 16, 16, 1, 1, bits, bits); in test_removeimage() 1125 pImageList_ReplaceIcon(himl, -1, hicon); in test_removeimage() 1126 pImageList_ReplaceIcon(himl, -1, hicon); in test_removeimage() 1127 pImageList_ReplaceIcon(himl, -1, hicon); in test_removeimage() 1178 DestroyIcon(hicon); in test_removeimage()
|
/reactos/dll/win32/oleaut32/ |
H A D | olepicture.c | 233 TRACE("icon handle %p\n", This->desc.u.icon.hicon); in OLEPictureImpl_SetIcon() 234 if (GetIconInfo(This->desc.u.icon.hicon, &infoIcon)) { in OLEPictureImpl_SetIcon() 257 ERR("GetIconInfo() fails on icon %p\n", This->desc.u.icon.hicon); in OLEPictureImpl_SetIcon() 397 DestroyIcon(Obj->desc.u.icon.hicon); in OLEPictureImpl_Destroy() 542 *phandle = HandleToUlong(This->desc.u.icon.hicon); in OLEPictureImpl_get_Handle() 713 if (!GetIconInfo(This->desc.u.icon.hicon, &info)) in OLEPictureImpl_Render() 1189 HICON hicon; in OLEPictureImpl_LoadIcon() local 1241 hicon = CreateIconFromResourceEx( in OLEPictureImpl_LoadIcon() 1254 hicon = CreateIconFromResourceEx( in OLEPictureImpl_LoadIcon() 1264 if (!hicon) { in OLEPictureImpl_LoadIcon() [all …]
|
/reactos/modules/rostests/winetests/user32/ |
H A D | cursoricon.c | 1924 HICON hicon; in check_alpha_draw() local 1933 hicon = create_test_icon(hdc, 2, 1, bpp, 0, color, sizeof(color)); in check_alpha_draw() 1934 if (!hicon) return; in check_alpha_draw() 1939 DrawIconEx(hdc, 0, 0, hicon, 2, 1, 0, NULL, DI_NORMAL); in check_alpha_draw() 1941 DrawIcon(hdc, 0, 0, hicon); in check_alpha_draw() 1957 if (!hicon) return; in check_DrawIcon() 1961 DrawIcon(hdc, 0, 0, hicon); in check_DrawIcon() 2058 if (!hicon) return; in check_DrawIconEx() 2060 DrawIconEx(hdc, 0, 0, hicon, 1, 1, 0, NULL, flags); in check_DrawIconEx() 2157 DrawStateA(hdc, hbr, NULL, (LPARAM) hicon, 0, 1, 1, 0, 0, (DST_ICON | flags )); in check_DrawState_Size() [all …]
|
/reactos/sdk/lib/3rdparty/cardlib/ |
H A D | cardbutton.h | 37 void SetIcon(HICON hicon, bool fRedraw);
|
H A D | cardbutton.cpp | 439 void CardButton::SetIcon(HICON hicon, bool fRedraw) in SetIcon() argument 441 hIcon = hicon; in SetIcon()
|
/reactos/sdk/include/psdk/ |
H A D | gdiplusheaders.h | 442 Bitmap(HICON hicon) in Bitmap() argument 445 lastStatus = DllExports::GdipCreateBitmapFromHICON(hicon, &bitmap); in Bitmap() 531 FromHICON(HICON hicon) in FromHICON() argument 533 return new Bitmap(hicon); in FromHICON() 556 GetHICON(HICON *hicon) in GetHICON() argument 558 return SetStatus(DllExports::GdipCreateHICONFromBitmap(GetNativeBitmap(), hicon)); in GetHICON()
|
H A D | olectl.h | 152 HICON hicon; member 186 HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hicon);
|
H A D | msacm.h | 287 HICON hicon; member 313 HICON hicon; member
|
H A D | commoncontrols.idl | 81 [in] HICON hicon,
|
/reactos/modules/rostests/winetests/oleaut32/ |
H A D | olepicture.c | 574 desc.icon.hicon = LoadIconA(NULL, (LPCSTR)IDI_APPLICATION); in create_picture() 844 desc.icon.hicon = LoadIconA(NULL, (LPCSTR)IDI_APPLICATION); in test_Render() 845 if(!desc.icon.hicon){ in test_Render() 1185 desc.icon.hicon = icon; in test_himetric() 1296 desc.icon.hicon = LoadIconA(NULL, (LPCSTR)IDI_APPLICATION); in test_load_save_icon() 1307 ok(IntToPtr(handle) == desc.icon.hicon, "get_Handle returned wrong handle %#x\n", handle); in test_load_save_icon() 1349 DestroyIcon(desc.icon.hicon); in test_load_save_icon()
|
/reactos/dll/win32/windowscodecs/ |
H A D | imgfactory.c | 849 HICON hicon, IWICBitmap **bitmap) in ImagingFactory_CreateBitmapFromHICON() argument 863 TRACE("(%p,%p,%p)\n", iface, hicon, bitmap); in ImagingFactory_CreateBitmapFromHICON() 867 if (!GetIconInfo(hicon, &info)) in ImagingFactory_CreateBitmapFromHICON() 1215 …ComponentFactory_CreateBitmapFromHICON(IWICComponentFactory *iface, HICON hicon, IWICBitmap **bitm… in ComponentFactory_CreateBitmapFromHICON() argument 1218 … return IWICImagingFactory2_CreateBitmapFromHICON(&This->IWICImagingFactory2_iface, hicon, bitmap); in ComponentFactory_CreateBitmapFromHICON()
|
/reactos/dll/win32/msacm32/ |
H A D | driver.c | 254 padda.hicon = addw.hicon; in acmDriverDetailsA()
|
/reactos/modules/rosapps/applications/explorer-old/utility/ |
H A D | utility.h | 155 #define Window_SetIcon(hwnd, type, hicon) (HICON)SendMessage(hwnd, WM_SETICON, type, (LPARAM)(hicon… argument
|
/reactos/win32ss/user/user32/windows/ |
H A D | cursoricon.c | 1869 _In_ HICON hicon, in CURSORICON_CopyImage() argument 1891 if (!NtUserGetIconInfo(hicon, NULL, &ustrModule, &ustrRsrc, NULL, FALSE)) in CURSORICON_CopyImage() 1914 if (!NtUserGetIconInfo(hicon, NULL, &ustrModule, &ustrRsrc, NULL, FALSE)) in CURSORICON_CopyImage() 1966 if (!GetIconInfo(hicon, &ii)) in CURSORICON_CopyImage() 1994 DestroyIcon(hicon); in CURSORICON_CopyImage()
|
/reactos/modules/rosapps/applications/explorer-old/ |
H A D | explorer.cpp | 925 …HICON hicon = (HICON) LoadImage(g_Globals._hInstance, MAKEINTRESOURCE(IDI_REACTOS_BIG), IMAGE_ICON… in Paint() local 927 DrawIconEx(canvas, 20, 10, hicon, 0, 0, 0, 0, DI_NORMAL); in Paint()
|
/reactos/dll/win32/msgsm32.acm/ |
H A D | msgsm32.c | 126 add->hicon = NULL; in GSM_DriverDetails()
|