示例#1
0
 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());
 }