mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 14:49:11 +02:00
+ added the win16api power management constants
git-svn-id: trunk@31715 -
This commit is contained in:
parent
90d4b116d7
commit
475c24670b
@ -494,6 +494,16 @@ const
|
|||||||
|
|
||||||
QS_ALLINPUT = $007f;
|
QS_ALLINPUT = $007f;
|
||||||
|
|
||||||
|
{ Power management }
|
||||||
|
WM_POWER = $0048;
|
||||||
|
|
||||||
|
{ wParam for WM_POWER window message and DRV_POWER driver notification }
|
||||||
|
PWR_OK = 1;
|
||||||
|
PWR_FAIL = (-1);
|
||||||
|
PWR_SUSPENDREQUEST = 1;
|
||||||
|
PWR_SUSPENDRESUME = 2;
|
||||||
|
PWR_CRITICALRESUME = 3;
|
||||||
|
|
||||||
function GetFreeSystemResources(SysResource: UINT): UINT; external 'USER';
|
function GetFreeSystemResources(SysResource: UINT): UINT; external 'USER';
|
||||||
|
|
||||||
procedure LogError(err: UINT; lpInfo: FarPointer); external 'KERNEL';
|
procedure LogError(err: UINT; lpInfo: FarPointer); external 'KERNEL';
|
||||||
|
Loading…
Reference in New Issue
Block a user