mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Add VirtualAlloc2 WIN32 API
This commit is contained in:
parent
9ea64725b6
commit
06d916b449
3 changed files with 25 additions and 0 deletions
|
@ -96,6 +96,12 @@ void *MapViewOfFile3(
|
|||
struct NtMemExtendedParameter *in_out_opt_ExtendedParameters,
|
||||
unsigned ParameterCount);
|
||||
|
||||
void *VirtualAlloc2(
|
||||
intptr_t opt_Process, void *opt_BaseAddress, size_t Size,
|
||||
unsigned AllocationType, unsigned PageProtection,
|
||||
struct NtMemExtendedParameter *in_out_opt_ExtendedParameters,
|
||||
unsigned ParameterCount);
|
||||
|
||||
#if ShouldUseMsabiAttribute()
|
||||
#include "libc/nt/thunk/memory.inc"
|
||||
#endif /* ShouldUseMsabiAttribute() */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue