Lines Matching refs:hook
772 const ProcHook* hook = GetProcHook(pName); in GetInstanceProcAddr() local
773 if (!hook) in GetInstanceProcAddr()
777 if (hook->type == ProcHook::GLOBAL) in GetInstanceProcAddr()
778 return hook->proc; in GetInstanceProcAddr()
786 return hook->proc; in GetInstanceProcAddr()
797 switch (hook->type) { in GetInstanceProcAddr()
799 proc = (GetData(instance).hook_extensions[hook->extension]) in GetInstanceProcAddr()
800 ? hook->proc in GetInstanceProcAddr()
804 proc = (hook->extension == ProcHook::EXTENSION_CORE_1_0) in GetInstanceProcAddr()
805 ? hook->proc in GetInstanceProcAddr()
806 : hook->checked_proc; in GetInstanceProcAddr()
820 const ProcHook* hook = GetProcHook(pName); in GetDeviceProcAddr() local
821 if (!hook) in GetDeviceProcAddr()
824 if (hook->type != ProcHook::DEVICE) { in GetDeviceProcAddr()
829 return (GetData(device).hook_extensions[hook->extension]) ? hook->proc in GetDeviceProcAddr()