#include "windows.h"
#include "stdio.h"
#include "resource.h"
Go to the source code of this file.
◆ wmain()
Definition at line 66 of file capicon.c.
75 printf(
"DrawCaption icon test.\n");
76 printf(
"USAGE: drawcap.exe <testnumber>\n\n");
77 printf(
"Available tests:\n" 78 "1. Class small icon\n" 80 "3. Class small icon + WM_GETICON\n" 81 "4. Class big icon + WM_GETICON\n" 82 "5. WM_GETICON only\n\n");
87 if(testnum < 1 || testnum > 5)
95 memset(&wcx, 0,
sizeof(wcx));
108 printf(
"Shit! RegisterClassEx failed: %d\n",
115 L"DrawCaption icon test",
128 printf(
"Shit! Can't create wnd!\n");
BOOL WINAPI TranslateMessage(_In_ const MSG *)
_Check_return_ _CRTIMP int __cdecl _wtoi(_In_z_ const wchar_t *_Str)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
BOOL WINAPI UpdateWindow(_In_ HWND)
DWORD WINAPI GetLastError(VOID)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
◆ WndProc()
Definition at line 29 of file capicon.c.
DWORD WINAPI GetLastError(VOID)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
Referenced by wmain().
◆ hInst
◆ testnum
◆ WndClass
WCHAR WndClass[] = L"capicon_class" |
Definition at line 23 of file capicon.c.
Referenced by _tWinMain(), capCreateCaptureWindowW(), ImageView_CreateWindow(), RegisterClassExA(), RegisterClassExWOWW(), RegisterConWndClass(), RegisterHexEditorClass(), RegisterIMEClass(), RegisterSystemControls(), RegisterWinPrevClass(), SHRegisterClassW(), SHUnregisterClassesA(), SHUnregisterClassesW(), START_TEST(), WinMain(), and wmain().