Go to the source code of this file.
|
HANDLE FASTCALL | IntGetProp (HWND hWnd, ATOM Atom, BOOLEAN SystemProp) |
|
HANDLE FASTCALL | UserGetProp (HWND hWnd, ATOM Atom, BOOLEAN SystemProp) |
|
int WINAPI | EnumPropsA (HWND hWnd, PROPENUMPROCA lpEnumFunc) |
|
int WINAPI | EnumPropsExA (HWND hWnd, PROPENUMPROCEXA lpEnumFunc, LPARAM lParam) |
|
int WINAPI | EnumPropsExW (HWND hWnd, PROPENUMPROCEXW lpEnumFunc, LPARAM lParam) |
|
int WINAPI | EnumPropsW (HWND hWnd, PROPENUMPROCW lpEnumFunc) |
|
HANDLE WINAPI | GetPropA (HWND hWnd, LPCSTR lpString) |
|
HANDLE WINAPI | GetPropW (HWND hWnd, LPCWSTR lpString) |
|
HANDLE WINAPI | RemovePropA (HWND hWnd, LPCSTR lpString) |
|
HANDLE WINAPI | RemovePropW (HWND hWnd, LPCWSTR lpString) |
|
BOOL WINAPI | SetPropA (HWND hWnd, LPCSTR lpString, HANDLE hData) |
|
BOOL WINAPI | SetPropW (HWND hWnd, LPCWSTR lpString, HANDLE hData) |
|
◆ ATOM_BUFFER_SIZE
◆ EnumPropsA()
Definition at line 79 of file prop.c.
80{
85
86 if(!lpEnumFunc)
87 {
90 }
91
94 {
97 else
100 }
101
103 {
106 {
108 return -1;
109 }
110
113 {
117 else
120 }
121
124 {
126
128 continue;
129
132 break;
133 }
134
136 }
137
139}
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
#define STATUS_INVALID_HANDLE
#define NT_SUCCESS(StatCode)
#define ERROR_INVALID_PARAMETER
UINT WINAPI GlobalGetAtomNameA(ATOM nAtom, LPSTR lpBuffer, int nSize)
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
NTSTATUS NTAPI NtUserBuildPropList(HWND hWnd, LPVOID Buffer, DWORD BufferSize, DWORD *Count)
NTSYSAPI ULONG WINAPI RtlNtStatusToDosError(NTSTATUS)
#define ERROR_INVALID_WINDOW_HANDLE
◆ EnumPropsExA()
Definition at line 146 of file prop.c.
147{
152
153 if(!lpEnumFunc)
154 {
157 }
158
161 {
164 else
167 }
168
170 {
173 {
175 return -1;
176 }
177
180 {
184 else
187 }
188
191 {
193
195 continue;
196
199 break;
200 }
201
203 }
204
206}
◆ EnumPropsExW()
Definition at line 213 of file prop.c.
214{
219
220 if(!lpEnumFunc)
221 {
224 }
225
228 {
231 else
234 }
235
237 {
240 {
242 return -1;
243 }
244
247 {
251 else
254 }
255
258 {
260
262 continue;
263
266 break;
267 }
268
270 }
271
273}
UINT WINAPI GlobalGetAtomNameW(ATOM nAtom, LPWSTR lpBuffer, int nSize)
◆ EnumPropsW()
Definition at line 280 of file prop.c.
281{
286
287 if(!lpEnumFunc)
288 {
291 }
292
295 {
298 else
301 }
302
304 {
307 {
309 return -1;
310 }
311
314 {
318 else
321 }
322
325 {
327
329 continue;
330
333 break;
334 }
335
337 }
338
340}
◆ GetPropA()
Definition at line 347 of file prop.c.
348{
353 {
355 lpWString = UString.
Buffer;
356 if (lpWString ==
NULL)
357 {
359 }
362 }
363 else
364 {
366 }
367 return(Ret);
368}
NTSYSAPI BOOLEAN NTAPI RtlCreateUnicodeStringFromAsciiz(_Out_ PUNICODE_STRING Destination, _In_ PCSZ Source)
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
HANDLE WINAPI GetPropW(HWND hWnd, LPCWSTR lpString)
◆ GetPropW()
Definition at line 375 of file prop.c.
376{
381 {
383 }
384 else
385 {
387 }
391}
ATOM WINAPI GlobalFindAtomW(LPCWSTR lpString)
PPROPERTY FASTCALL IntGetProp(_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
Referenced by GetPropA().
◆ IntGetProp()
Definition at line 38 of file prop.c.
39{
45
47 if (!pWnd)
return NULL;
48
51 {
55 {
57 }
60 }
62}
#define ValidateHwnd(hwnd)
#define PROPERTY_FLAG_SYSTEM
_In_ ATOM _In_ HANDLE _In_ BOOLEAN SystemProp
struct _LIST_ENTRY * Flink
#define CONTAINING_RECORD(address, type, field)
static __inline PVOID SharedPtrToUser(PVOID Ptr)
◆ RemovePropA()
Definition at line 398 of file prop.c.
399{
403
405 {
407 lpWString = UString.
Buffer;
408 if (lpWString ==
NULL)
409 {
411 }
414 }
415 else
416 {
418 }
419 return(Ret);
420}
HANDLE WINAPI RemovePropW(HWND hWnd, LPCWSTR lpString)
◆ RemovePropW()
Definition at line 427 of file prop.c.
429{
432 {
434 }
435 else
436 {
438 }
440}
HANDLE NTAPI NtUserRemoveProp(HWND hWnd, ATOM Atom)
Referenced by RemovePropA().
◆ SetPropA()
Definition at line 447 of file prop.c.
448{
452
454 {
456 lpWString = UString.
Buffer;
457 if (lpWString ==
NULL)
458 {
460 }
463 }
464 else
465 {
467 }
468 return(Ret);
469}
BOOL WINAPI SetPropW(HWND hWnd, LPCWSTR lpString, HANDLE hData)
◆ SetPropW()
Definition at line 476 of file prop.c.
477{
480 {
482 }
483 else
484 {
486 }
487
489}
ATOM WINAPI GlobalAddAtomW(LPCWSTR lpString)
BOOL NTAPI NtUserSetProp(HWND hWnd, ATOM Atom, HANDLE Data)
Referenced by SetPropA().
◆ UserGetProp()