113 RECT rc = {0,0,0,0}, clr, wir;
114 char spr[100], sir[100];
118 static HWND hwndButton = 0;
430 Scrollparameter.
cbSize =
sizeof(Scrollparameter);
440 switch ( nScrollCode )
444 Scrollparameter.
nPos = Scrollparameter.
nPos;
448 Scrollparameter.
nPos = Scrollparameter.
nMin;
452 Scrollparameter.
nPos = Scrollparameter.
nMax;
456 Scrollparameter.
nPos--;
460 Scrollparameter.
nPos++;
464 Scrollparameter.
nPos -= Scrollparameter.
nPage;
468 Scrollparameter.
nPos += Scrollparameter.
nPage;
506 Scrollparameter.
cbSize =
sizeof(Scrollparameter);
516 switch ( nScrollCode )
520 Scrollparameter.
nPos = Scrollparameter.
nPos;
524 Scrollparameter.
nPos = Scrollparameter.
nMin;
528 Scrollparameter.
nPos = Scrollparameter.
nMax;
532 Scrollparameter.
nPos--;
536 Scrollparameter.
nPos++;
540 Scrollparameter.
nPos -= Scrollparameter.
nPage;
544 Scrollparameter.
nPos += Scrollparameter.
nPage;
626 cx =
tm.tmAveCharWidth * 30;
627 cy = (
tm.tmHeight +
tm.tmExternalLeading) * 2;
648 TextOut(
hDC, 10, 10,
"Hello World from ReactOS!",
649 strlen(
"Hello World from ReactOS!"));
650 TextOut(
hDC, 10, 80,
"Press Ctrl+C or Ctrl+Alt+F1 to test Hotkey support.",
651 strlen(
"Press Ctrl+C or Ctrl+Alt+F1 to test Hotkey support."));
654 sprintf(spr,
"%lu,%lu,%lu,%lu ", clr.left, clr.top, clr.right, clr.bottom);
655 sprintf(sir,
"%lu,%lu,%lu,%lu ", wir.left, wir.top, wir.right, wir.bottom);
ACPI_SIZE strlen(const char *String)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
#define sprintf(buf, format,...)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
#define WS_OVERLAPPEDWINDOW
_Out_opt_ int _Out_opt_ int * cy
TW_UINT32 TW_UINT16 TW_UINT16 MSG
DWORD WINAPI GetLastError(void)
HGDIOBJ WINAPI GetStockObject(_In_ int)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
#define SYSTEM_FIXED_FONT
#define OUT_DEFAULT_PRECIS
#define CLIP_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)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI UnregisterHotKey(_In_opt_ HWND, _In_ int)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI RegisterHotKey(_In_opt_ HWND, _In_ int, _In_ UINT, _In_ UINT)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
HDC WINAPI GetDC(_In_opt_ HWND)
#define MB_ICONINFORMATION
int WINAPI SetScrollInfo(_In_ HWND, _In_ int, _In_ LPCSCROLLINFO, _In_ BOOL)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
BOOL WINAPI GetScrollInfo(_In_ HWND, _In_ int, _Inout_ LPSCROLLINFO)
BOOL WINAPI DestroyWindow(_In_ HWND)
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)