mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-23 20:05:26 +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
|