Im wondering how its done, I notice in directx hooking examples, they usually have the offsets defined as constants. how do they calculate these offsets?