ReactOS  0.4.13-dev-563-g0561610
prop.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

HANDLE FASTCALL UserGetProp (_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
 
HANDLE FASTCALL UserRemoveProp (_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
 
 _Success_ (return) BOOL FASTCALL UserSetProp(_In_ PWND Window
 
VOID FASTCALL UserRemoveWindowProps (_In_ PWND Window)
 

Variables

_In_ ATOM Atom
 
_In_ ATOM _In_ HANDLE Data
 
_In_ ATOM _In_ HANDLE _In_ BOOLEAN SystemProp
 

Function Documentation

◆ _Success_()

_Success_ ( return  )

◆ UserGetProp()

HANDLE FASTCALL UserGetProp ( _In_ PWND  Window,
_In_ ATOM  Atom,
_In_ BOOLEAN  SystemProp 
)

Definition at line 46 of file prop.c.

50 {
51  PPROPERTY Prop;
52 
54  Prop = IntGetProp(Window, Atom, SystemProp);
55  return Prop ? Prop->Data : NULL;
56 }
BOOL FASTCALL UserIsEntered(VOID)
Definition: ntuser.c:225
_In_ ATOM _In_ HANDLE _In_ BOOLEAN SystemProp
Definition: prop.h:22
_Out_ RTL_ATOM * Atom
Definition: class.h:54
Definition: window.c:29
HANDLE Data
Definition: ntuser.h:1054
smooth NULL
Definition: ftsmooth.c:416
PPROPERTY FASTCALL IntGetProp(_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
Definition: prop.c:16
#define NT_ASSERT
Definition: rtlfuncs.h:3312

Referenced by DefWndGetIcon(), DefWndSetIcon(), GetLayeredStatus(), IntDdeGetMessageHook(), IntEngWindowChanged(), IntFlashWindowEx(), IntGetWindowContextHelpId(), IntGhostWindowFromHungWindow(), IntSetLayeredWindowAttributes(), NC_IconForWindow(), NtUserCallHwnd(), NtUserGetLayeredWindowAttributes(), SetLayeredStatus(), and UserGethWnd().

◆ UserRemoveProp()

◆ UserRemoveWindowProps()

VOID FASTCALL UserRemoveWindowProps ( _In_ PWND  Window)

Definition at line 115 of file prop.c.

117 {
118  PLIST_ENTRY ListEntry;
120 
122  while (!IsListEmpty(&Window->PropListHead))
123  {
124  ListEntry = Window->PropListHead.Flink;
125  Property = CONTAINING_RECORD(ListEntry, PROPERTY, PropListEntry);
126  RemoveEntryList(&Property->PropListEntry);
128  Window->PropListItems--;
129  }
130  return;
131 }
static __inline BOOL UserHeapFree(PVOID lpMem)
Definition: usrheap.h:42
_Must_inspect_result_ FORCEINLINE BOOLEAN IsListEmpty(_In_ const LIST_ENTRY *ListHead)
Definition: rtlfuncs.h:57
FORCEINLINE BOOLEAN RemoveEntryList(_In_ PLIST_ENTRY Entry)
Definition: rtlfuncs.h:105
Definition: window.c:29
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
Definition: typedefs.h:117
_In_ DWORD Property
Definition: setupapi.h:1545
BOOL FASTCALL UserIsEnteredExclusive(VOID)
Definition: ntuser.c:231
#define NT_ASSERT
Definition: rtlfuncs.h:3312

Referenced by co_UserFreeWindow().

Variable Documentation

◆ Atom

_In_ ATOM Atom

Definition at line 22 of file prop.h.

◆ Data

Definition at line 22 of file prop.h.

◆ SystemProp

Definition at line 22 of file prop.h.

Referenced by _Success_(), IntGetProp(), and UserGetProp().