Lines Matching refs:read_bytes
1757 SIZE_T dummy, read_bytes; in test_OpenProcess() local
1781 read_bytes = 0xdeadbeef; in test_OpenProcess()
1783 ret = ReadProcessMemory(hproc, test_OpenProcess, &dummy, sizeof(dummy), &read_bytes); in test_OpenProcess()
1785 ok(read_bytes == sizeof(dummy), "wrong read bytes %ld\n", read_bytes); in test_OpenProcess()
1802 read_bytes = 0xdeadbeef; in test_OpenProcess()
1804 ok(!ReadProcessMemory(hproc, addr1, &dummy, sizeof(dummy), &read_bytes), in test_OpenProcess()
1807 ok(read_bytes == 0, "wrong read bytes %ld\n", read_bytes); in test_OpenProcess()
1814 read_bytes = VirtualQueryEx(hproc, addr1, &info, sizeof(info)); in test_OpenProcess()
1815 ok(read_bytes == sizeof(info), "VirtualQueryEx error %d\n", GetLastError()); in test_OpenProcess()
1840 read_bytes = VirtualQueryEx(hproc, addr1, &info, sizeof(info)); in test_OpenProcess()
1841 if (read_bytes) /* win8 */ in test_OpenProcess()
1843 ok(read_bytes == sizeof(info), "VirtualQueryEx error %d\n", GetLastError()); in test_OpenProcess()