mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
20
libc/nt/systeminfo.h
Normal file
20
libc/nt/systeminfo.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_INFO_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_INFO_H_
|
||||
#include "libc/nt/struct/systeminfo.h"
|
||||
#include "libc/nt/thunk/msabi.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
struct NtSystemInfo;
|
||||
|
||||
void GetSystemInfo(struct NtSystemInfo *lpSystemInfo);
|
||||
uint32_t GetSystemDirectory(char16_t *lpBuffer, uint32_t uSize);
|
||||
uint32_t GetSystemDirectoryA(char *lpBuffer, uint32_t uSize);
|
||||
uint32_t GetWindowsDirectory(char16_t *lpBuffer, uint32_t uSize);
|
||||
uint32_t GetTempPath(uint32_t uSize, char16_t *lpBuffer);
|
||||
|
||||
#if ShouldUseMsabiAttribute()
|
||||
#include "libc/nt/thunk/systeminfo.inc"
|
||||
#endif /* ShouldUseMsabiAttribute() */
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_INFO_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue