ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

cursoricon.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #define MAXCURICONHANDLES 4096
00004 
00005 typedef struct tagCURICON_PROCESS
00006 {
00007   LIST_ENTRY ListEntry;
00008   PPROCESSINFO Process;
00009 } CURICON_PROCESS, *PCURICON_PROCESS;
00010 
00011 typedef struct _CURICON_OBJECT
00012 {
00013   PROCMARKHEAD head;
00014   LIST_ENTRY ListEntry;
00015   HANDLE Self;
00016   LIST_ENTRY ProcessList;
00017   HMODULE hModule;
00018   HRSRC hRsrc;
00019   HRSRC hGroupRsrc;
00020   SIZE Size;
00021   BYTE Shadow;
00022   ICONINFO IconInfo;
00023 } CURICON_OBJECT, *PCURICON_OBJECT;
00024 
00025 typedef struct _CURSORACCELERATION_INFO
00026 {
00027     UINT FirstThreshold;
00028     UINT SecondThreshold;
00029     UINT Acceleration;
00030 } CURSORACCELERATION_INFO, *PCURSORACCELERATION_INFO;
00031 
00032 typedef struct _SYSTEM_CURSORINFO
00033 {
00034   BOOL Enabled;
00035   BOOL ClickLockActive;
00036   DWORD ClickLockTime;
00037 //  BOOL SwapButtons;
00038   UINT ButtonsDown;
00039   RECTL rcClip;
00040   BOOL bClipped;
00041   PCURICON_OBJECT CurrentCursorObject;
00042   INT ShowingCursor;
00043 /*
00044   UINT WheelScroLines;
00045   UINT WheelScroChars;
00046   UINT DblClickSpeed;
00047   UINT DblClickWidth;
00048   UINT DblClickHeight;
00049 
00050   UINT MouseHoverTime;
00051   UINT MouseHoverWidth;
00052   UINT MouseHoverHeight;
00053 
00054   UINT MouseSpeed;
00055   CURSORACCELERATION_INFO CursorAccelerationInfo;
00056 */
00057   DWORD LastBtnDown;
00058   LONG LastBtnDownX;
00059   LONG LastBtnDownY;
00060   HANDLE LastClkWnd;
00061   BOOL ScreenSaverRunning;
00062 } SYSTEM_CURSORINFO, *PSYSTEM_CURSORINFO;
00063 
00064 BOOL InitCursorImpl(VOID);
00065 PCURICON_OBJECT IntCreateCurIconHandle(VOID);
00066 VOID FASTCALL IntCleanupCurIcons(struct _EPROCESS *Process, PPROCESSINFO Win32Process);
00067 
00068 BOOL UserDrawIconEx(HDC hDc, INT xLeft, INT yTop, PCURICON_OBJECT pIcon, INT cxWidth,
00069    INT cyHeight, UINT istepIfAniCur, HBRUSH hbrFlickerFreeDraw, UINT diFlags);
00070 PCURICON_OBJECT FASTCALL UserGetCurIconObject(HCURSOR hCurIcon);
00071 BOOL UserSetCursorPos( INT x, INT y, DWORD flags, ULONG_PTR dwExtraInfo, BOOL Hook);
00072 BOOL APIENTRY UserClipCursor(RECTL *prcl);
00073 PSYSTEM_CURSORINFO IntGetSysCursorInfo(VOID);
00074 
00075 #define IntReleaseCurIconObject(CurIconObj) \
00076   UserDereferenceObject(CurIconObj)
00077 
00078 /* EOF */

Generated on Sun May 27 2012 04:38:30 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.