#include <windows.h>
#include <stdio.h>
#include <assert.h>
Go to the source code of this file.
◆ ASSERT
◆ nelem
◆ MainWndProc()
Definition at line 229 of file shaptest.c.
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
Referenced by WinMain().
◆ PolygonTest()
Definition at line 24 of file shaptest.c.
27 HBRUSH RedBrush, OldBrush;
29 POINT PointsAlternate[] =
37 POINT PointsWinding[] =
HPEN WINAPI CreatePen(_In_ int, _In_ int, _In_ COLORREF)
BOOL Polygon(CONST PPOINT UnsafePoints, int Count, int polyFillMode)
BOOL WINAPI Rectangle(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
BOOL WINAPI RoundRect(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int)
int WINAPI SetPolyFillMode(_In_ HDC, _In_ int)
int WINAPI GetPolyFillMode(_In_ HDC)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
Referenced by shaptest().
◆ shaptest()
◆ WinMain()
Definition at line 168 of file shaptest.c.
HGDIOBJ WINAPI GetStockObject(_In_ int)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
DWORD WINAPI GetLastError(VOID)
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
#define CLIP_DEFAULT_PRECIS
#define OUT_DEFAULT_PRECIS
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)
#define WS_OVERLAPPEDWINDOW
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM)
◆ tf