소스 검색

+ added the win16api power management constants

git-svn-id: trunk@31715 -
nickysn 10 년 전
부모
커밋
475c24670b
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      rtl/win16/win31.pp

+ 10 - 0
rtl/win16/win31.pp

@@ -494,6 +494,16 @@ const
 
   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';
 
 procedure LogError(err: UINT; lpInfo: FarPointer); external 'KERNEL';