#include "precomp.h"
#include <ntcsrmsg.h>
#include "csrmsg.h"
#include "ntddvdeo.h"
Go to the source code of this file.
|
|
|
Referenced by CleanupPowerRequestList(), QueuePowerRequest(), UnqueuePowerRequest(), and xxxUserPowerCalloutWorker(). |
|
Definition at line 58 of file power.c. References tagPOWERREQUEST::Event, EVENT_INCREMENT, FALSE, gpPowerRequestCurrent, KeSetEvent(), and tagPOWERREQUEST::Status. Referenced by CleanupPowerRequestList(), and xxxUserPowerCalloutWorker().
|
|
Definition at line 216 of file power.c. References CancelPowerRequest(), gbNoMorePowerCallouts, gpPowerRequestMutex, NULL, PPOWERREQUEST, TRUE, and UnqueuePowerRequest(). Referenced by CleanupResources(), and InitiateWin32kCleanup().
|
|
Definition at line 250 of file power.c. References gPowerRequestList, gpPowerRequestMutex, and NULL. Referenced by Win32kNtUserCleanup().
|
|
Definition at line 38 of file power.c. References ExAcquireFastMutexUnsafe(), gpPowerRequestMutex, KeEnterCriticalRegion, and VOID(). Referenced by QueuePowerRequest(), UnqueuePowerRequest(), UserPowerStateCallout(), and xxxUserPowerStateCalloutWorker().
|
|
Definition at line 180 of file power.c. References ExEventObjectType, ExInitializeFastMutex, gpEventPowerRequest, gPowerRequestList, gpPowerRequestMutex, KernelMode, NT_SUCCESS, NTSTATUS(), NULL, ObReferenceObjectByHandle(), and Status. Referenced by NtUserInitialize().
|
|
Definition at line 43 of file power.c. References ExReleaseFastMutexUnsafe(), gpPowerRequestMutex, KeLeaveCriticalRegion, and VOID(). Referenced by QueuePowerRequest(), UnqueuePowerRequest(), UserPowerStateCallout(), and xxxUserPowerStateCalloutWorker().
|
|
Definition at line 76 of file power.c. References EnterCrit, EnterPowerCrit(), tagPOWERREQUEST::Event, EVENT_INCREMENT, FALSE, gbNoMorePowerCallouts, gpEventPowerRequest, gPowerRequestList, gpPowerRequestCurrent, gpPowerRequestMutex, IS_SYSTEM_THREAD, KeInitializeEvent, KernelMode, KeSetEvent(), KeWaitForSingleObject(), LeaveCrit, LeavePowerCrit(), NT_SUCCESS, NTSTATUS(), NULL, tagPOWERREQUEST::Parms, PKWIN32_POWEREVENT_PARAMETERS, tagPOWERREQUEST::PowerRequestLink, PPOWERREQUEST, PsGetCurrentThread, PtiCurrent, tagPOWERREQUEST::Status, Status, ThreadLockPool, ThreadUnlockPool, WrUserRequest, and xxxUserPowerCalloutWorker(). Referenced by UserPowerEventCallout(), and UserPowerStateCallout().
|
|
Definition at line 152 of file power.c. References EnterPowerCrit(), gPowerRequestList, LeavePowerCrit(), NULL, and PPOWERREQUEST. Referenced by CleanupPowerRequestList(), and xxxUserPowerCalloutWorker().
|
|
Definition at line 455 of file power.c. References gbNoMorePowerCallouts, gbVideoInitialized, gpepCSRSS, NTSTATUS(), NULL, and QueuePowerRequest().
|
|
Definition at line 608 of file power.c. References tagPOWERSTATE::bsmParams, BROADCASTSYSTEMMSGPARAMS::dwFlags, EnterPowerCrit(), EVENT_INCREMENT, FALSE, tagPOWERSTATE::fCritical, tagPOWERSTATE::fInProgress, _WIN32_POWERSTATE_PARAMETERS::Flags, tagPOWERSTATE::fOverrideApps, tagPOWERSTATE::fQueryAllowed, tagPOWERSTATE::fUIAllowed, gbNoMorePowerCallouts, gbVideoInitialized, gpepCSRSS, gPowerState, gspwndLogonNotify, KeSetEvent(), LeavePowerCrit(), _WIN32_POWERSTATE_PARAMETERS::MinSystemState, NTSTATUS(), NULL, tagPOWERSTATE::pEvent, PKWIN32_POWERSTATE_PARAMETERS, _WIN32_POWERSTATE_PARAMETERS::Promotion, tagPOWERSTATE::psParams, QueuePowerRequest(), _WIN32_POWERSTATE_PARAMETERS::SystemAction, and TRUE.
|
|
Definition at line 845 of file power.c. References CreateSystemThread(), FALSE, NT_SUCCESS, NTSTATUS(), NtWaitForSingleObject(), NULL, Status, and VideoPortCalloutThread().
|
|
Definition at line 727 of file power.c. References BusRelations, EnterCrit, FALSE, gbHibernate, gpDispInfo, grpdeskRitInput, InitSystemThread(), IoInvalidateDeviceRelations(), ISCSRSS, KernelMode, LeaveCrit, NT_SUCCESS, NULL, tagDISPLAYINFO::pmdev, TRUE, xxxRestoreCsrssThreadDesktop(), xxxSetCsrssThreadDesktop(), xxxUserChangeDisplaySettings(), and xxxUserResetDisplayDevice(). Referenced by VideoPortCallout().
|
|
Definition at line 684 of file power.c. References CancelPowerRequest(), EVENT_INCREMENT, FALSE, gpPowerRequestCurrent, KeSetEvent(), NULL, PPOWERREQUEST, PtiCurrent, tagPOWERREQUEST::Status, ThreadLockPoolCleanup, ThreadUnlockPoolCleanup, UnqueuePowerRequest(), xxxUserPowerEventCalloutWorker(), and xxxUserPowerStateCalloutWorker(). Referenced by QueuePowerRequest().
|
|
Definition at line 274 of file power.c. References _PostMessage(), BOOL, BusRelations, _WIN32_POWEREVENT_PARAMETERS::Code, BROADCASTSYSTEMMSGPARAMS::dwFlags, BROADCASTSYSTEMMSGPARAMS::dwRecipients, _WIN32_POWEREVENT_PARAMETERS::EventNumber, FALSE, gbHibernate, gbNoMorePowerCallouts, gpDispInfo, grpdeskRitInput, gspwndLogonNotify, IoInvalidateDeviceRelations(), ISCSRSS, KernelMode, NT_SUCCESS, NTSTATUS(), NULL, tagDISPLAYINFO::pmdev, PSPOWEREVENTTYPE, PsW32DisplayState, PsW32EventCode, PsW32FullWake, PsW32GdiOff, PsW32GdiOn, PsW32PowerPolicyChanged, PsW32SystemPowerState, PsW32SystemTime, Status, TRUE, xxxRestoreCsrssThreadDesktop(), xxxSendMessageBSM(), xxxSetCsrssThreadDesktop(), xxxSystemParametersInfo(), xxxUserChangeDisplaySettings(), and xxxUserResetDisplayDevice(). Referenced by xxxUserPowerCalloutWorker().
|
|
Definition at line 481 of file power.c. References BOOL, tagPOWERSTATE::bsmParams, BROADCASTSYSTEMMSGPARAMS::dwFlags, BROADCASTSYSTEMMSGPARAMS::dwRecipients, EnterPowerCrit(), FALSE, tagPOWERSTATE::fCritical, fGdiEnabled, tagPOWERSTATE::fInProgress, tagPOWERSTATE::fOverrideApps, tagPOWERSTATE::fQueryAllowed, tagPOWERSTATE::fUIAllowed, gbNoMorePowerCallouts, glinp, gPowerState, gspwndLogonNotify, LeavePowerCrit(), NtGetTickCount(), NTSTATUS(), NULL, tagPOWERSTATE::pEvent, tagPOWERSTATE::psParams, PtiCurrent, Status, ThreadLockAlways, ThreadUnlock, tagLASTINPUT::timeLastInputMessage, xxxSendMessage(), and xxxSendMessageBSM(). Referenced by xxxUserPowerCalloutWorker().
|
|
|
|
Definition at line 27 of file power.c. Referenced by VideoPortCalloutThread(), and xxxUserPowerEventCalloutWorker(). |
|
Definition at line 21 of file power.c. Referenced by UserInitialize(), and UserThreadCallout(). |
|
Definition at line 26 of file power.c. Referenced by InitializePowerRequestList(), and QueuePowerRequest(). |
|
Definition at line 24 of file power.c. Referenced by DeletePowerRequestList(), InitializePowerRequestList(), QueuePowerRequest(), and UnqueuePowerRequest(). |
|
Definition at line 36 of file power.c. Referenced by CancelPowerRequest(), QueuePowerRequest(), and xxxUserPowerCalloutWorker(). |
|
Definition at line 25 of file power.c. Referenced by CleanupPowerRequestList(), DeletePowerRequestList(), EnterPowerCrit(), InitializePowerRequestList(), LeavePowerCrit(), and QueuePowerRequest(). |