Exemplo n.º 1
0
 public static IntPtr DetourFindFunction(
     string lpModule,
     string lpFunction)
 {
     if (Is64Bit)
     {
         return(NativeApi64.DetourFindFunction(lpModule,
                                               lpFunction));
     }
     else
     {
         return(NativeApi32.DetourFindFunction(lpModule,
                                               lpFunction));
     }
 }