Home
last modified time | relevance | path

Searched refs:LONG_PTR (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/reactos/sdk/lib/rtl/
H A Dsrw.c89 LONG_PTR NewValue; in RtlpReleaseWaitBlockLockExclusive()
159 LONG_PTR NewValue; in RtlpReleaseWaitBlockLockLastShared()
201 LONG_PTR PrevValue; in RtlpAcquireWaitBlockLock()
235 LONG_PTR CurrentValue; in RtlpAcquireSRWLockExclusiveWait()
280 LONG_PTR CurrentValue; in RtlpAcquireSRWLockSharedWait()
329 LONG_PTR CurrentValue, NewValue; in RtlAcquireSRWLockShared()
528 LONG_PTR CurrentValue, NewValue; in RtlReleaseSRWLockShared()
599 LONG_PTR CurrentValue, NewValue; in RtlAcquireSRWLockExclusive()
712 LONG_PTR CurrentValue, NewValue; in RtlReleaseSRWLockExclusive()
774 LONG_PTR CompareValue, NewValue, GotValue; in RtlTryAcquireSRWLockShared()
[all …]
/reactos/sdk/include/psdk/
H A Dbasetsd.h80 #define HandleToLong( h ) ((LONG)(LONG_PTR) (h) )
82 #define LongToHandle( h) ((HANDLE)(LONG_PTR) (h))
84 #define PtrToLong( p ) ((LONG)(LONG_PTR) (p) )
88 #define PtrToShort( p ) ((short)(LONG_PTR)(p) )
104 #define MAXLONG_PTR ((LONG_PTR)(MAXULONG_PTR >> 1))
130 typedef __int64 LONG_PTR, *PLONG_PTR; typedef
137 { return((long)(LONG_PTR) h ); } in HandleToLong()
149 { return((long)(LONG_PTR) p ); } in PtrToLong()
159 { return( (void*)(LONG_PTR)l ); } in LongToPtr()
174 typedef long LONG_PTR, *PLONG_PTR; typedef
[all …]
H A Dintsafe.h95 typedef long long INT_PTR, LONG_PTR, SSIZE_T, ptrdiff_t; typedef
100 typedef _W64 long LONG_PTR, SSIZE_T; typedef
311 DEFINE_SAFE_CONVERT_UTOX(ULongToLongPtr, ULONG, LONG_PTR) in DEFINE_SAFE_CONVERT_UTOX()
379 DEFINE_SAFE_CONVERT_STOU(LongPtrToUChar, LONG_PTR, UINT8)
380 DEFINE_SAFE_CONVERT_STOU(LongPtrToUInt8, LONG_PTR, UINT8)
382 DEFINE_SAFE_CONVERT_STOU(LongPtrToUInt, LONG_PTR, UINT)
383 DEFINE_SAFE_CONVERT_STOU(LongPtrToULong, LONG_PTR, ULONG)
391 DEFINE_SAFE_CONVERT_STOU(LongPtrToChar, LONG_PTR, UINT8)
427 DEFINE_SAFE_CONVERT_STOS(LongPtrToInt8, LONG_PTR, INT8)
429 DEFINE_SAFE_CONVERT_STOS(LongPtrToInt, LONG_PTR, INT)
[all …]
H A Dcpl.h28 LONG_PTR lData;
34 LONG_PTR lData;
44 LONG_PTR lData;
H A Dcontrol.idl31 typedef LONG_PTR OAHWND;
32 typedef LONG_PTR OAEVENT;
119 …T NotifyOwnerMessage( [in] OAHWND hwnd, [in] LONG uMsg, [in] LONG_PTR wParam, [in] LONG_PTR lParam…
201 …HRESULT GetEvent( [out] LONG *lEventCode, [out] LONG_PTR *lParam1, [out] LONG_PTR *lParam2, [in] L…
205 HRESULT FreeEventParams( [in] LONG lEvCode, [in] LONG_PTR lParam1, [in] LONG_PTR lParam2 );
219 HRESULT SetNotifyWindow( [in] OAHWND hwnd, [in] LONG lMsg, [in] LONG_PTR lInstanceData );
H A Dwinnls.h505 typedef long LONG_PTR; typedef
533 typedef BOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCA)(LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR);
534 typedef BOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCW)(LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR);
535 typedef BOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCA)(LGRPID, LCID, LPSTR, LONG_PTR);
536 typedef BOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCW)(LGRPID, LCID, LPWSTR, LONG_PTR);
537 typedef BOOL (CALLBACK *UILANGUAGE_ENUMPROCW)(LPWSTR, LONG_PTR);
538 typedef BOOL (CALLBACK *UILANGUAGE_ENUMPROCA)(LPSTR, LONG_PTR);
989 BOOL WINAPI EnumSystemLanguageGroupsA(_In_ LANGUAGEGROUP_ENUMPROCA, _In_ DWORD, _In_ LONG_PTR);
990 BOOL WINAPI EnumSystemLanguageGroupsW(_In_ LANGUAGEGROUP_ENUMPROCW, _In_ DWORD, _In_ LONG_PTR);
993 BOOL WINAPI EnumUILanguagesA(_In_ UILANGUAGE_ENUMPROCA, _In_ DWORD, _In_ LONG_PTR);
[all …]
H A Dwinreg.h10 #define HKEY_CLASSES_ROOT ((HKEY)(LONG_PTR)(LONG)0x80000000)
11 #define HKEY_CURRENT_USER ((HKEY)(LONG_PTR)(LONG)0x80000001)
12 #define HKEY_LOCAL_MACHINE ((HKEY)(LONG_PTR)(LONG)0x80000002)
13 #define HKEY_USERS ((HKEY)(LONG_PTR)(LONG)0x80000003)
14 #define HKEY_PERFORMANCE_DATA ((HKEY)(LONG_PTR)(LONG)0x80000004)
15 #define HKEY_CURRENT_CONFIG ((HKEY)(LONG_PTR)(LONG)0x80000005)
16 #define HKEY_DYN_DATA ((HKEY)(LONG_PTR)(LONG)0x80000006)
17 #define HKEY_PERFORMANCE_TEXT ((HKEY)(LONG_PTR)(LONG)0x80000050)
18 #define HKEY_PERFORMANCE_NLSTEXT ((HKEY)(LONG_PTR)(LONG)0x80000060)
/reactos/modules/rostests/kmtests/ntos_ob/
H A DObReference.c35 LONG_PTR Ret; in TestReference()
57 ok_eq_longptr(Ret, (LONG_PTR)4 + AdditionalReferences); in TestReference()
61 ok_eq_longptr(Ret, (LONG_PTR)5 + AdditionalReferences); in TestReference()
73 ok_eq_longptr(Ret, (LONG_PTR)6 + AdditionalReferences); in TestReference()
77 ok_eq_longptr(Ret, (LONG_PTR)5 + AdditionalReferences); in TestReference()
81 ok_eq_longptr(Ret, (LONG_PTR)4 + AdditionalReferences); in TestReference()
85 ok_eq_longptr(Ret, (LONG_PTR)3 + AdditionalReferences); in TestReference()
106 ok_eq_longptr(Ret, (LONG_PTR)4 + AdditionalReferences); in TestReference()
112 ok_eq_longptr(Ret, (LONG_PTR)3 + AdditionalReferences); in TestReference()
118 ok_eq_longptr(Ret, (LONG_PTR)2 + AdditionalReferences); in TestReference()
[all …]
/reactos/modules/rostests/apitests/ntdll/
H A DNtOpenProcessToken.c21 ok((LONG_PTR)TokenHandle > 0, "TokenHandle = %p\n", TokenHandle); in START_TEST()
33 ok((LONG_PTR)TokenHandle > 0, "TokenHandle = %p\n", TokenHandle); in START_TEST()
45 ok((LONG_PTR)TokenHandle > 0, "TokenHandle = %p\n", TokenHandle); in START_TEST()
H A DNtOpenThreadToken.c38 ok((LONG_PTR)TokenHandle > 0, "TokenHandle = %p\n", TokenHandle); in START_TEST()
53 ok((LONG_PTR)TokenHandle > 0, "TokenHandle = %p\n", TokenHandle); in START_TEST()
/reactos/modules/rostests/apitests/user32/
H A DScrollBarWndExtra.c25 LONG_PTR dummyData = (LONG_PTR)0xbeefbeefbeefbeefULL, result; in START_TEST()
40 WndClass.cbWndExtra = dwExtra + sizeof(LONG_PTR); in START_TEST()
/reactos/dll/win32/rpcrt4/
H A Dndr_stubless.h241 LONG_PTR *retval_ptr;
258 LONG_PTR CDECL ndr_client_call( PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING pFormat,
260 LONG_PTR CDECL ndr_async_client_call( PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING pFormat,
H A Dndr_stubless.c712 LONG_PTR retval = 0; in do_ndr_client_call()
868 LONG_PTR RetVal = 0; in ndr_client_call()
1025 LONG_PTR ret; in NdrClientCall2()
1214 static LONG_PTR *stub_do_args(MIDL_STUB_MESSAGE *pStubMsg, in stub_do_args()
1220 LONG_PTR *retval_ptr = NULL; in stub_do_args()
1330 LONG_PTR *retval_ptr = NULL; in NdrStubCall2()
1490 LONG_PTR retval; in NdrStubCall2()
1804 LONG_PTR ret = 0; in ndr_async_client_call()
1933 LONG_PTR ret; in NdrAsyncClientCall()
2152 TRACE("stub implementation returned 0x%lx\n", *(LONG_PTR *)Reply); in NdrpCompleteAsyncServerCall()
[all …]
/reactos/win32ss/user/user32/windows/
H A Dclass.c1083 LONG_PTR retvalue = 0; in IntGetWindowLong()
1175 LONG_PTR
1186 LONG_PTR
1523 dwNewLong = (LONG_PTR)&Value; in SetClassLongA()
1542 dwNewLong = (LONG_PTR)&Value; in SetClassLongA()
1582 dwNewLong = (LONG_PTR)&Value; in SetClassLongW()
1591 dwNewLong = (LONG_PTR)&Value; in SetClassLongW()
1608 LONG_PTR dwNewLong) in SetClassLongPtrA()
1623 LONG_PTR dwNewLong) in SetClassLongPtrW()
1710 LONG_PTR
[all …]
/reactos/dll/directx/wine/wined3d/
H A Dwined3d_main.c460 entry->proc = (WNDPROC)SetWindowLongPtrW(window, GWLP_WNDPROC, (LONG_PTR)wined3d_wndproc); in wined3d_register_window()
462 entry->proc = (WNDPROC)SetWindowLongPtrA(window, GWLP_WNDPROC, (LONG_PTR)wined3d_wndproc); in wined3d_register_window()
473 LONG_PTR proc; in wined3d_unregister_window()
487 if (proc != (LONG_PTR)wined3d_wndproc) in wined3d_unregister_window()
496 SetWindowLongPtrW(window, GWLP_WNDPROC, (LONG_PTR)entry->proc); in wined3d_unregister_window()
501 if (proc != (LONG_PTR)wined3d_wndproc) in wined3d_unregister_window()
510 SetWindowLongPtrA(window, GWLP_WNDPROC, (LONG_PTR)entry->proc); in wined3d_unregister_window()
/reactos/sdk/include/xdk/
H A Dobfuncs.h11 LONG_PTR
28 LONG_PTR
171 LONG_PTR
190 LONG_PTR
/reactos/sdk/lib/3rdparty/libwine/
H A Dregister.c70 static BOOL CALLBACK register_resource( HMODULE module, LPCWSTR type, LPWSTR name, LONG_PTR arg ) in register_resource()
105 EnumResourceNamesW( module, regtypeW, register_resource, (LONG_PTR)&info ); in __wine_register_resources()
117 EnumResourceNamesW( module, regtypeW, register_resource, (LONG_PTR)&info ); in __wine_unregister_resources()
/reactos/modules/rostests/apitests/kernel32/
H A Dlstrlen.c50 ok(lstrlenA( (LPSTR)(LONG_PTR)0xbaadf00d) == 0, "lstrlenA should have returned 0.\n"); in START_TEST()
51 ok(lstrlenW((LPWSTR)(LONG_PTR)0xbaadf00d) == 0, "lstrlenW should have returned 0.\n"); in START_TEST()
/reactos/base/applications/mscutils/servman/
H A Dpropsheet_recovery.c242 length = (INT)((LONG_PTR)endPtr - (LONG_PTR)startPtr); in ShowFailureActions()
270 length = (INT)((LONG_PTR)endPtr - (LONG_PTR)startPtr); in ShowFailureActions()
463 (LONG_PTR)pRecoveryData); in RecoveryPageProc()
/reactos/ntoskrnl/kd64/
H A Dkdinit.c200 KdVersionBlock.PsLoadedModuleList = (ULONG64)(LONG_PTR)&PsLoadedModuleList; in KdInitSystem()
201 KdVersionBlock.DebuggerDataList = (ULONG64)(LONG_PTR)&KdpDebuggerDataListHead; in KdInitSystem()
224 KdVersionBlock.KernBase = (ULONG64)(LONG_PTR)LdrEntry->DllBase; in KdInitSystem()
345 KdVersionBlock.KernBase = (ULONG64)(LONG_PTR)PsNtosImageBase; in KdInitSystem()
/reactos/win32ss/user/winsrv/consrv/frontends/gui/
H A Dconwnd.h57 LONG_PTR WndStyle;
58 LONG_PTR WndStyleEx;
/reactos/ntoskrnl/ob/
H A Dobref.c25 LONG_PTR OldValue, NewValue; in ObReferenceObjectSafe()
92 LONG_PTR NewCount; in ObDereferenceObjectEx()
306 LONG_PTR
316 LONG_PTR
321 LONG_PTR NewCount; in ObfDereferenceObject()
/reactos/modules/rostests/apitests/gditools/
H A Dgditools.c37 ((LONG_PTR)pentry->einfo.pobj > 0) || in GdiIsHandleValid()
56 ((LONG_PTR)pentry->einfo.pobj > 0) || in GdiIsHandleValidEx()
/reactos/dll/win32/dbghelp/
H A Dstabs.c228 static struct symt** stabs_find_ref(LONG_PTR filenr, LONG_PTR subnr) in stabs_find_ref()
274 LONG_PTR filenr, subnr; in stabs_read_type_enum()
409 LONG_PTR* filenr, LONG_PTR* subnr) in stabs_pts_read_type_reference()
584 LONG_PTR ofs; in stabs_pts_read_method_info()
600 LONG_PTR sz, ofs; in stabs_pts_read_aggregate()
611 LONG_PTR num_classes; in stabs_pts_read_aggregate()
658 LONG_PTR x; in stabs_pts_read_aggregate()
742 LONG_PTR value; in stabs_pts_read_enum()
761 LONG_PTR lo, hi; in stabs_pts_read_array()
786 LONG_PTR sz = -1; in stabs_pts_read_type_def()
[all …]
/reactos/modules/rostests/winetests/user32/
H A Dclass.c453 SetClassLongPtrA( hwnd, GCLP_HMODULE, (LONG_PTR)user32 ); in test_instances()
507 SetClassLongPtrA( hwnd, GCLP_HMODULE, (LONG_PTR)main_module ); in test_instances()
734 SetWindowLongPtrW(hwnd, GWLP_WNDPROC, (LONG_PTR)pDefWindowProcA); in test_builtinproc()
736 if (GetWindowLongPtrW(hwnd, GWLP_WNDPROC) == (LONG_PTR)pDefWindowProcA) in test_builtinproc()
746 SetWindowLongPtrA(hwnd, GWLP_WNDPROC, (LONG_PTR)ClassTest_WndProc); in test_builtinproc()
764 SetWindowLongPtrW(hwnd, GWLP_WNDPROC, (LONG_PTR)ClassTest_WndProc); in test_builtinproc()
766 SetWindowLongPtrA(hwnd, GWLP_WNDPROC, (LONG_PTR)ClassTest_WndProc); in test_builtinproc()
796 SetWindowLongPtrW(hwnd, GWLP_WNDPROC, (LONG_PTR)oldproc); in test_builtinproc()
837 SetWindowLongPtrA(hwnd, GWLP_WNDPROC, (LONG_PTR)oldproc); in test_builtinproc()
873 SetWindowLongPtrW(hwnd, GWLP_WNDPROC, (LONG_PTR)oldproc); in test_builtinproc()
[all …]

12345678910>>...17