39 _T(
"Line drawing test"),
67#define red RGB(255,0,0)
68#define grn RGB(0,255,0)
69#define blu RGB(0,0,255)
85 { 10, 10, 19, 10,
red },
86 { 20, 10, 20, 19,
grn },
87 { 20, 20, 11, 20,
blu },
88 { 10, 20, 10, 11,
blk },
89 { 12, 12, 15, 15,
red },
90 { 18, 12, 15, 15,
grn },
91 { 18, 18, 15, 15,
blu },
92 { 12, 18, 15, 15,
blk },
94 { 35, 10, 39, 14,
red },
95 { 40, 15, 36, 19,
grn },
96 { 35, 20, 31, 16,
blu },
97 { 30, 15, 34, 11,
blk },
104 { 50, 1, 51, 1,
red },
105 { 50, 2, 52, 2,
grn },
106 { 50, 3, 53, 3,
blu },
107 { 50, 4, 54, 4,
blk },
108 { 50, 5, 55, 5,
red },
109 { 50, 6, 56, 6,
grn },
110 { 50, 7, 57, 7,
blu },
111 { 50, 8, 58, 8,
blk },
112 { 50, 9, 59, 9,
red },
113 { 50, 10, 60, 10,
grn },
114 { 50, 11, 61, 11,
blu },
115 { 50, 12, 62, 12,
blk },
117 { 50, 14, 62, 14,
red },
118 { 51, 15, 62, 15,
grn },
119 { 52, 16, 62, 16,
blu },
120 { 53, 17, 62, 17,
blk },
121 { 54, 18, 62, 18,
red },
122 { 55, 19, 62, 19,
grn },
123 { 56, 20, 62, 20,
blu },
124 { 57, 21, 62, 21,
blk },
125 { 58, 22, 62, 22,
red },
126 { 59, 23, 62, 23,
grn },
127 { 60, 24, 62, 24,
blu },
128 { 61, 25, 62, 25,
blk },
GLsizei const GLfloat * points
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM)
static void DrawLines(HDC hDC)
#define WS_OVERLAPPEDWINDOW
TW_UINT32 TW_UINT16 TW_UINT16 MSG
DWORD WINAPI GetLastError(void)
HGDIOBJ WINAPI GetStockObject(_In_ int)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
BOOL WINAPI MoveToEx(_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
HPEN WINAPI CreatePen(_In_ int, _In_ int, _In_ COLORREF)
BOOL WINAPI LineTo(_In_ HDC, _In_ int, _In_ int)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)