コード例 #1
0
ファイル: NativeMethods.cs プロジェクト: divyang4481/lextudio
 public static extern int LoadString(SafeModuleHandle hInstance, uint uID, StringBuilder lpBuffer, int nBufferMax);
コード例 #2
0
 public Win32Resources(string module)
 {
     _moduleHandle = Native.NativeMethods.LoadLibrary(module);
     if( _moduleHandle.IsInvalid )
         throw new System.ComponentModel.Win32Exception(System.Runtime.InteropServices.Marshal.GetLastWin32Error());
 }