Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

usercall.h File Reference

#include "w32wow64.h"

Go to the source code of this file.

Defines

#define W32KAPI   DECLSPEC_ADDRSAFE

Functions

W32KAPI ULONG_PTR NtUserCallNoParam (IN DWORD xpfnProc)
W32KAPI ULONG_PTR NtUserCallOneParam (IN ULONG_PTR dwParam, IN DWORD xpfnProc)
W32KAPI KERNEL_ULONG_PTR NtUserCallHwnd (IN HWND hwnd, IN DWORD xpfnProc)
W32KAPI KERNEL_ULONG_PTR NtUserCallHwndLock (IN HWND hwnd, IN DWORD xpfnProc)
W32KAPI ULONG_PTR NtUserCallHwndOpt (IN HWND hwnd, IN DWORD xpfnProc)
W32KAPI ULONG_PTR NtUserCallTwoParam (ULONG_PTR dwParam1, ULONG_PTR dwParam2, IN DWORD xpfnProc)
W32KAPI ULONG_PTR NtUserCallHwndParam (IN HWND hwnd, IN ULONG_PTR dwParam, IN DWORD xpfnProc)
W32KAPI ULONG_PTR NtUserCallHwndParamLock (IN HWND hwnd, IN ULONG_PTR dwParam, IN DWORD xpfnProc)


Define Documentation

#define W32KAPI   DECLSPEC_ADDRSAFE
 

Definition at line 18 of file usercall.h.


Function Documentation

W32KAPI KERNEL_ULONG_PTR NtUserCallHwnd IN HWND  hwnd,
IN DWORD  xpfnProc
 

Definition at line 4543 of file kernel/ntstubs.c.

References apfnSimpleCall, BEGINRECV_HWNDLOCK, ENDRECV_HWNDLOCK, TRACE, and VALIDATEXPFNPROC.

Referenced by _GetWindow(), DeregisterShellHookWindow(), GetWindowContextHelpId(), MB_DlgProcWorker(), and RegisterShellHookWindow().

04546 { 04547 04548 // 04549 // N.B. This function has implicit window handle translation. This 04550 // operation is performed in the User server API dispatcher. 04551 // 04552 04553 BEGINRECV_HWNDLOCK(ULONG_PTR, 0, hwnd); 04554 04555 VALIDATEXPFNPROC(HWND); 04556 04557 retval = (apfnSimpleCall[xpfnProc](pwnd)); 04558 04559 TRACE(apszSimpleCallNames[xpfnProc]); 04560 ENDRECV_HWNDLOCK(); 04561 }

W32KAPI KERNEL_ULONG_PTR NtUserCallHwndLock IN HWND  hwnd,
IN DWORD  xpfnProc
 

Definition at line 4563 of file kernel/ntstubs.c.

References apfnSimpleCall, BEGINRECV_HWNDLOCK, ENDRECV_HWNDLOCK, TRACE, and VALIDATEXPFNPROC.

Referenced by ArrangeIconicWindows(), DrawMenuBar(), InternalCreateDialog(), NtUserCheckImeShowStatusInThread(), UpdateWindow(), and xxxGetSysMenuHandle().

04566 { 04567 04568 // 04569 // N.B. This function has implicit window translation and thread locking 04570 // enabled. These operations are performed in the User server API 04571 // dispatcher. 04572 // 04573 04574 BEGINRECV_HWNDLOCK(ULONG_PTR, 0, hwnd); 04575 04576 VALIDATEXPFNPROC(HWNDLOCK); 04577 04578 retval = (apfnSimpleCall[xpfnProc](pwnd)); 04579 04580 TRACE(apszSimpleCallNames[xpfnProc]); 04581 ENDRECV_HWNDLOCK(); 04582 }

W32KAPI ULONG_PTR NtUserCallHwndOpt IN HWND  hwnd,
IN DWORD  xpfnProc
 

Definition at line 4584 of file kernel/ntstubs.c.

References apfnSimpleCall, BEGINATOMICRECV, ENDATOMICRECV, TRACE, ValidateHWNDOPT, and VALIDATEXPFNPROC.

Referenced by SetProgmanWindow(), and SetTaskmanWindow().

04587 { 04588 PWND pwnd; 04589 04590 BEGINATOMICRECV(ULONG_PTR, 0); 04591 04592 ValidateHWNDOPT(pwnd, hwnd); 04593 04594 VALIDATEXPFNPROC(HWNDOPT); 04595 04596 retval = (apfnSimpleCall[xpfnProc](pwnd)); 04597 04598 TRACE(apszSimpleCallNames[xpfnProc]); 04599 ENDATOMICRECV(); 04600 }

W32KAPI ULONG_PTR NtUserCallHwndParam IN HWND  hwnd,
IN ULONG_PTR  dwParam,
IN DWORD  xpfnProc
 

Definition at line 4602 of file kernel/ntstubs.c.

References apfnSimpleCall, BEGINRECV_HWNDLOCK, ENDRECV_HWNDLOCK, ISXPFNPROCINRANGE, PtoH, TRACE, and VALIDATEXPFNPROC.

Referenced by _GetClassData(), ClearWindowState(), DefDlgProcWorker(), KillSystemTimer(), SetWindowContextHelpId(), SetWindowState(), ValidateDialogPwnd(), and xxxMDIActivate().

04606 { 04607 04608 // 04609 // N.B. This function has implicit window handle translation. This 04610 // operation is performed in the User server API dispatcher. 04611 // 04612 04613 BEGINRECV_HWNDLOCK(ULONG_PTR, 0, hwnd); 04614 04615 VALIDATEXPFNPROC(HWNDPARAM); 04616 04617 retval = (apfnSimpleCall[xpfnProc](pwnd, dwParam)); 04618 if (ISXPFNPROCINRANGE(HWNDPARAMANDRETURNHANDLE)) { 04619 retval = (ULONG_PTR)PtoH((PVOID)retval); 04620 } 04621 04622 TRACE(apszSimpleCallNames[xpfnProc]); 04623 ENDRECV_HWNDLOCK(); 04624 }

W32KAPI ULONG_PTR NtUserCallHwndParamLock IN HWND  hwnd,
IN ULONG_PTR  dwParam,
IN DWORD  xpfnProc
 

Definition at line 4626 of file kernel/ntstubs.c.

References apfnSimpleCall, BEGINRECV_HWNDLOCK, ENDRECV_HWNDLOCK, TRACE, and VALIDATEXPFNPROC.

Referenced by AnimateWindow(), EnableWindow(), NtUserBroadcastImeShowStatusChange(), ShowOwnedPopups(), SwitchToThisWindow(), and ValidateRgn().

04630 { 04631 04632 // 04633 // N.B. This function has implicit window translation and thread locking 04634 // enabled. These operations are performed in the User server API 04635 // dispatcher. 04636 // 04637 04638 BEGINRECV_HWNDLOCK(ULONG_PTR, 0, hwnd); 04639 04640 VALIDATEXPFNPROC(HWNDPARAMLOCK); 04641 04642 retval = (apfnSimpleCall[xpfnProc](pwnd, dwParam)); 04643 04644 TRACE(apszSimpleCallNames[xpfnProc]); 04645 ENDRECV_HWNDLOCK(); 04646 }

W32KAPI ULONG_PTR NtUserCallNoParam IN DWORD  xpfnProc  ) 
 

Definition at line 4510 of file kernel/ntstubs.c.

References apfnSimpleCall, BEGINRECV, ENDRECV, ISXPFNPROCINRANGE, PtoH, TRACE, and VALIDATEXPFNPROC.

Referenced by ClientThreadSetup(), CreateMenu(), CreatePopupMenu(), DestroyCaret(), EndDialog(), GetIMEShowStatus(), GetInputDesktop(), GetMessagePos(), HandleMediaChangeEvent(), LoadCursorsAndIcons(), MLChar(), MsgWaitForMultipleObjectsEx(), NotificationThread(), ReleaseCapture(), SLChar(), W32WinStationDoDisconnect(), W32WinStationExitWindows(), W32WinStationNtSecurity(), W32WinStationPassthruDisable(), W32WinStationPassthruEnable(), W32WinStationShadowSetup(), W32WinStationShadowStop(), and xxxTrackMouse().

04512 { 04513 BEGINRECV(ULONG_PTR, 0); 04514 04515 VALIDATEXPFNPROC(NOPARAM); 04516 04517 retval = (apfnSimpleCall[xpfnProc]()); 04518 if (ISXPFNPROCINRANGE(NOPARAMANDRETURNHANDLE)) { 04519 retval = (ULONG_PTR)PtoH((PVOID)retval); 04520 } 04521 04522 TRACE(apszSimpleCallNames[xpfnProc]); 04523 ENDRECV(); 04524 }

W32KAPI ULONG_PTR NtUserCallOneParam IN ULONG_PTR  dwParam,
IN DWORD  xpfnProc
 

Definition at line 4526 of file kernel/ntstubs.c.

References apfnSimpleCall, BEGINRECV, ENDRECV, ISXPFNPROCINRANGE, PtoH, TRACE, and VALIDATEXPFNPROC.

Referenced by AllowSetForegroundWindow(), BeginDeferWindowPos(), ClientThreadSetup(), ConsolePlaySound(), CopyIcoCur(), CreateAniIcon(), CreateIcoCur(), CreateIcoCurIndirect(), CreateIconIndirect(), DdeUninitialize(), DirectedYield(), EnumClipboardFormats(), ExitWindowsWorker(), GetCursorPos(), GetKeyboardLayout(), GetKeyboardType(), GetQueueStatus(), GetWinStationInfo(), InternalDdeInitialize(), LoadLocalFonts(), LoadRemoteFonts(), LockSetForegroundWindow(), MessageBeep(), MsgWaitForMultipleObjectsEx(), PostQuitMessage(), ReleaseDC(), ReplyMessage(), SetCaretBlinkTime(), SetDoubleClickTime(), SetMessageExtraInfo(), ShowCursor(), ShowStartGlass(), SoftModalMessageBox(), SwapMouseButton(), UserRealizePalette(), W32WinStationDoReconnect(), W32WinStationThinwireStats(), WindowFromDC(), and WOWModuleUnload().

04529 { 04530 BEGINRECV(ULONG_PTR, 0); 04531 04532 VALIDATEXPFNPROC(ONEPARAM); 04533 04534 retval = (apfnSimpleCall[xpfnProc](dwParam)); 04535 if (ISXPFNPROCINRANGE(ONEPARAMANDRETURNHANDLE)) { 04536 retval = (ULONG_PTR)PtoH((PVOID)retval); 04537 } 04538 04539 TRACE(apszSimpleCallNames[xpfnProc]); 04540 ENDRECV(); 04541 }

W32KAPI ULONG_PTR NtUserCallTwoParam ULONG_PTR  dwParam1,
ULONG_PTR  dwParam2,
IN DWORD  xpfnProc
 

Definition at line 4648 of file kernel/ntstubs.c.

References apfnSimpleCall, BEGINRECV, ENDRECV, TRACE, and VALIDATEXPFNPROC.

Referenced by FujitsuOyayubiControl(), GetMonitorInfo(), InitOemXlateTables(), RegisterLogonProcess(), RegisterSystemThread(), RegisterUserHungAppHandlers(), SetCaretPos(), SetCursorPos(), UnhookWindowsHook(), W32WinStationShadowCleanup(), W32WinStationShadowStart(), and WOWCleanup().

04652 { 04653 BEGINRECV(ULONG_PTR, 0); 04654 04655 VALIDATEXPFNPROC(TWOPARAM); 04656 04657 retval = (apfnSimpleCall[xpfnProc](dwParam1, dwParam2)); 04658 04659 TRACE(apszSimpleCallNames[xpfnProc]); 04660 ENDRECV(); 04661 }


Generated on Sat May 15 19:45:54 2004 for test by doxygen 1.3.7