Home | History | Annotate | Download | only in chrome_frame

Lines Matching defs:vtable

33 // Retrieve the vtable for an interface.
54 // Make a backup of the test vtable and it's page protection settings.
55 void* vtable = GetVtable(&factory_);
57 ASSERT_TRUE(::VirtualQuery(vtable, &info, sizeof(info)));
59 memcpy(vtable_backup_, vtable, sizeof(vtable_backup_));
66 // Restore the test vtable and its page protection settings.
67 void* vtable = GetVtable(&factory_);
69 EXPECT_TRUE(::VirtualProtect(vtable, sizeof(vtable_backup_),
71 memcpy(vtable, vtable_backup_, sizeof(vtable_backup_));
72 EXPECT_TRUE(::VirtualProtect(vtable, sizeof(vtable_backup_),
90 // Number of functions in the IClassFactory vtable.
93 // Backup of the factory_ vtable as we found it at Setup.
95 // VirtualProtect flags on the factory_ vtable as we found it at Setup.
191 // Capture the VTable after patching.
192 PROC vtable[kFunctionCount];
193 memcpy(vtable, GetVtable(&factory_), sizeof(vtable));
199 // Should not have changed the VTable on second call.
200 EXPECT_EQ(0, memcmp(vtable, GetVtable(&factory_), sizeof(vtable)));