TryPInvoke() private static method

Checks whether PInvoke functions can be called
private static TryPInvoke ( ) : void
return void
Ejemplo n.º 1
0
 /// <summary>
 /// set up P/Invoke settings only for .NET 2.0/3.0/3.5
 /// </summary>
 /// <returns></returns>
 public static void Initialize()
 {
     NativeMethods.TryPInvoke();
 }