ReactOS 0.4.16-dev-320-g3bd9ddc
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
55 return Prop ? Prop->Data : NULL;
56}
_Out_ RTL_ATOM * Atom
Definition: class.h:54
#define NULL
Definition: types.h:112
BOOL FASTCALL UserIsEntered(VOID)
Definition: ntuser.c:225
_In_ ATOM _In_ HANDLE _In_ BOOLEAN SystemProp
Definition: prop.h:24
Definition: window.c:28
HANDLE Data
Definition: ntuser.h:1101
PPROPERTY FASTCALL IntGetProp(_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
Definition: prop.c:16
#define NT_ASSERT
Definition: rtlfuncs.h:3327

Referenced by DefWndGetIcon(), DefWndSetIcon(), GetLayeredStatus(), IntDdeGetMessageHook(), IntEngWindowChanged(), IntFlashWindowEx(), IntGetWindowContextHelpId(), IntGhostWindowFromHungWindow(), IntSetLayeredWindowAttributes(), NC_IconForWindow(), NtUserCallHwnd(), NtUserGetAppImeLevel(), 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}
#define RemoveEntryList(Entry)
Definition: env_spec_w32.h:986
#define IsListEmpty(ListHead)
Definition: env_spec_w32.h:954
BOOL FASTCALL UserIsEnteredExclusive(VOID)
Definition: ntuser.c:231
Definition: typedefs.h:120
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
static __inline BOOL UserHeapFree(PVOID lpMem)
Definition: usrheap.h:44

Referenced by co_UserFreeWindow().

Variable Documentation

◆ Atom

_In_ ATOM Atom

Definition at line 22 of file prop.h.

◆ Data

Definition at line 23 of file prop.h.

◆ SystemProp

Definition at line 24 of file prop.h.

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