mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-08 04:08:32 +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
|
@ -250,6 +250,12 @@
|
|||
#define HUMPD int64_t
|
||||
#define HWND int64_t
|
||||
|
||||
#define PDH_FUNCTION LONG
|
||||
|
||||
#define PDH_HCOUNTER HANDLE
|
||||
#define PDH_HQUERY HANDLE
|
||||
#define PDH_HLOG HANDLE
|
||||
|
||||
#define ADDRESS_FAMILY uint16_t
|
||||
#define TUNNEL_TYPE uint32_t
|
||||
#define NET_IF_CONNECTION_TYPE uint32_t
|
||||
|
@ -440,6 +446,9 @@
|
|||
#define _FILE_FULL_EA_INFORMATION NtFileFullEaInformation
|
||||
#define FILE_FULL_EA_INFORMATION struct NtFileFullEaInformation
|
||||
#define PFILE_FULL_EA_INFORMATION struct NtFileFullEaInformation*
|
||||
#define _PDH_FMT_COUNTERVALUE NtPdhFmtCountervalue
|
||||
#define PDH_FMT_COUNTERVALUE struct NtPdhFmtCountervalue
|
||||
#define PPDH_FMT_COUNTERVALUE struct NtPdhFmtCountervalue*
|
||||
|
||||
#define _LUID NtLuid
|
||||
#define LUID struct NtLuid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue