diff options
author | Egor Duda <deo@logos-m.ru> | 2002-06-16 13:21:43 +0000 |
---|---|---|
committer | Egor Duda <deo@logos-m.ru> | 2002-06-16 13:21:43 +0000 |
commit | 45e9463a38af63cd024f3a568b9c61be4df2b0d1 (patch) | |
tree | 8441f75212043e2788e61b1bf5c5f822b148266b /winsup/w32api/include/ntdll.h | |
parent | 1464d11b4b760dddd6169a78e72d749d7d612fd7 (diff) | |
download | cygnal-45e9463a38af63cd024f3a568b9c61be4df2b0d1.tar.gz cygnal-45e9463a38af63cd024f3a568b9c61be4df2b0d1.tar.bz2 cygnal-45e9463a38af63cd024f3a568b9c61be4df2b0d1.zip |
* include/ntdll.h: New file.
* lib/ntdll.def: Add NtShutdownSystem.
Diffstat (limited to 'winsup/w32api/include/ntdll.h')
-rw-r--r-- | winsup/w32api/include/ntdll.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/winsup/w32api/include/ntdll.h b/winsup/w32api/include/ntdll.h new file mode 100644 index 000000000..b66661399 --- /dev/null +++ b/winsup/w32api/include/ntdll.h @@ -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 */ |