mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 17:58:30 +00:00
Fix some win32 definitions
You can now use psapi.dll and pdh.dll. Some TODOs for Windows have been cleared out. We might have a working load average for the platform that should help GNU Make work well.
This commit is contained in:
parent
e2e0b042c1
commit
c23b6ecc31
162 changed files with 847 additions and 153 deletions
|
@ -44,6 +44,9 @@ bool32 AdjustTokenPrivileges(int64_t TokenHandle, bool32 DisableAllPrivileges,
|
|||
struct NtTokenPrivileges *opt_out_PreviousState,
|
||||
uint32_t *opt_out_ReturnLength);
|
||||
|
||||
bool32 ImpersonateSelf(int kNtSecurityImpersonationLevel);
|
||||
bool32 RevertToSelf(void);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_PRIVILEGE_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue