mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-24 20:35:25 +00:00
22 lines
334 B
C
22 lines
334 B
C
|
#ifdef __cplusplus
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif
|
||
|
|
||
|
void __stdcall _clear_wp(void);
|
||
|
void __stdcall _set_wp(void);
|
||
|
|
||
|
NTSTATUS
|
||
|
NTAPI
|
||
|
_ZwProtectVirtualMemory(
|
||
|
HANDLE ProcessHandle,
|
||
|
PVOID *BaseAddress,
|
||
|
PSIZE_T NumberOfBytesToProtect,
|
||
|
ULONG NewAccessProtection,
|
||
|
PULONG OldAccessProtection
|
||
|
);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|