public static TDelegate GetProcDelegate<TDelegate>( string InModule, string InSymbolName )
Public Shared Function GetProcDelegate(Of TDelegate) ( InModule As String, InSymbolName As String ) As TDelegate
public: generic<typename TDelegate> static TDelegate GetProcDelegate( String^ InModule, String^ InSymbolName )
static member GetProcDelegate : InModule : string * InSymbolName : string -> 'TDelegate
This method is usually not useful to hook something but it allows you to dynamically load native API methods into your managed environment instead of using the static P-Invoke approach provided by DllImportAttribute.