Lines Matching defs:succeeded
163 BOOL succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function),
167 if (!succeeded) {
181 // We do this regardless of whether the patch succeeded or not.
182 succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function),
186 if (!succeeded) {
208 succeeded = ::FlushInstructionCache(::GetCurrentProcess(),
211 if (!succeeded) {
230 BOOL succeeded = FALSE;
272 succeeded = ::FlushInstructionCache(::GetCurrentProcess(),
275 if (!succeeded) {
324 BOOL succeeded = ::VirtualProtect(reinterpret_cast<void*>(target),
328 if (!succeeded) {
393 succeeded = ::VirtualProtect(reinterpret_cast<void*>(target),
402 succeeded = ::FlushInstructionCache(::GetCurrentProcess(),
405 if (!succeeded) {