* include/ntdll.h: New file.
* lib/ntdll.def: Add NtShutdownSystem.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | 2002-06-16  Egor Duda  <deo@logos-m.ru> | ||||||
|  |  | ||||||
|  | 	* include/ntdll.h: New file. | ||||||
|  | 	* lib/ntdll.def: Add NtShutdownSystem. | ||||||
|  |  | ||||||
| 2002-06-16  Steven Edwards  <Steven_Ed4153@yahoo.com> | 2002-06-16  Steven Edwards  <Steven_Ed4153@yahoo.com> | ||||||
|  |  | ||||||
| 	* lib/dinput.def (DirectInputCreateEx): Add stub. | 	* lib/dinput.def (DirectInputCreateEx): Add stub. | ||||||
|   | |||||||
							
								
								
									
										15
									
								
								winsup/w32api/include/ntdll.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								winsup/w32api/include/ntdll.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | |||||||
|  | #ifndef _NTDLL_H | ||||||
|  | #define _NTDLL_H | ||||||
|  | #if __GNUC__ >=3 | ||||||
|  | #pragma GCC system_header | ||||||
|  | #endif | ||||||
|  |  | ||||||
|  | typedef enum _SHUTDOWN_ACTION { | ||||||
|  |      ShutdownNoReboot, | ||||||
|  |      ShutdownReboot, | ||||||
|  |      ShutdownPowerOff | ||||||
|  |  } SHUTDOWN_ACTION; | ||||||
|  |  | ||||||
|  | DWORD WINAPI NtShutdownSystem (SHUTDOWN_ACTION Action); | ||||||
|  |  | ||||||
|  | #endif /* _NTDLL_H */ | ||||||
| @@ -30,6 +30,7 @@ NtProtectVirtualMemory@20 | |||||||
| NtQueryVirtualMemory@24 | NtQueryVirtualMemory@24 | ||||||
| NtReadFile@36 | NtReadFile@36 | ||||||
| NtReadVirtualMemory@20 | NtReadVirtualMemory@20 | ||||||
|  | NtShutdownSystem@4 | ||||||
| NtUnlockVirtualMemory@16 | NtUnlockVirtualMemory@16 | ||||||
| NtWriteFile@36 | NtWriteFile@36 | ||||||
| NtWriteVirtualMemory@20 | NtWriteVirtualMemory@20 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user