Searched refs:dwNewProtect (Results 1 – 1 of 1) sorted by relevance
435 DWORD dwNewProtect, dwOldProtect; in picopal_mpr_protect() local436 dwNewProtect = PICOPAL_PROT_NONE; in picopal_mpr_protect()439 dwNewProtect = PAGE_READWRITE; in picopal_mpr_protect()441 dwNewProtect = PAGE_READONLY; in picopal_mpr_protect()445 dwNewProtect = PAGE_READWRITE; in picopal_mpr_protect()447 if (!VirtualProtect(addr, len, dwNewProtect, &dwOldProtect)) { in picopal_mpr_protect()