Lines Matching defs:succeeded
27 BOOL succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function),
31 if (!succeeded) {
49 succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function),
53 if (!succeeded) {
67 succeeded = ::FlushInstructionCache(::GetCurrentProcess(),
70 if (!succeeded) {
104 BOOL succeeded = VirtualProtect(preamble_stub, MAX_PREAMBLE_STUB_SIZE,
106 if (!succeeded) {
184 BOOL succeeded = ::VirtualProtect(reinterpret_cast<void*>(target),
188 if (!succeeded) {
206 succeeded = ::VirtualProtect(reinterpret_cast<void*>(target),
215 succeeded = ::FlushInstructionCache(::GetCurrentProcess(),
218 if (!succeeded) {