RegCode.cs
上传用户:jnxxjx
上传日期:2015-03-08
资源大小:3388k
文件大小:5k
- //$si$ virtual
- ////////////////////////////////////////////////////////////////
- // File RegCode.dll:
- // Global functions
- //-------------------------------------------------------
- // Global fields
- //-------------------------------------------------------
- // Global MemberRefs
- //-------------------------------------------------------
- // Types
- //-------------------------------------------------------
- class Util.Version : System.Object
- {
- String VersionString;
- String SBSVersionString;
- Void Util.Version();
- }
- class RegCode.RegAsmOptions : System.Object
- {
- String m_strAssemblyName;
- String m_strTypeLibName;
- Boolean m_bRegister;
- Boolean m_bSetCodeBase;
- String m_strRegFileName;
- Boolean m_bNoLogo;
- Boolean m_bSilentMode;
- Boolean m_bVerboseMode;
- Boolean m_bTypeLibSpecified;
- Boolean m_bRegFileSpecified;
- ValueClass System.Runtime.InteropServices.TypeLibExporterFlags m_Flags;
- Void RegCode.RegAsmOptions();
- }
- class RegCode.RemoteRegAsm : System.MarshalByRefObject
- {
- I4 Run( Class RegCode.RegAsmOptions s_options);
- Void RegCode.RemoteRegAsm();
- }
- class RegCode.Resource : System.Object
- {
- Class System.Resources.ResourceManager _resmgr;
- Void InitResourceManager();
- String GetString( String key);
- String FormatString( String key);
- String FormatString( String key, Object a1);
- String FormatString( String key, Object a1, Object a2);
- String FormatString( String key, Object a1, Object a2, Object a3);
- String FormatString( String key, SZArray Object a);
- Void RegCode.Resource();
- }
- class RegCode.REGKIND : System.Enum
- {
- I4 value__;
- ValueClass RegCode.REGKIND REGKIND_DEFAULT;
- ValueClass RegCode.REGKIND REGKIND_REGISTER;
- ValueClass RegCode.REGKIND REGKIND_NONE;
- }
- class RegCode.RegCode : System.Object
- {
- String strDocStringPrefix;
- String strManagedTypeThreadingModel;
- String strClassesRootRegKey;
- String strMsCorEEFileName;
- I4 SuccessReturnCode;
- I4 ErrorReturnCode;
- I4 MAX_PATH;
- String strMsCorEEFullFileName;
- Class RegCode.RegAsmOptions s_Options;
- Class System.Runtime.InteropServices.RegistrationServices s_RegistrationServices;
- I4 Run( Class RegCode.RegAsmOptions options);
- Class System.Runtime.InteropServices.UCOMITypeLib DoExportAndRegister( Class System.Reflection.Assembly asm, String strTypeLibName);
- Boolean GenerateRegFile( String strRegFileName, Class System.Reflection.Assembly asm);
- Void AddManagedTypeToRegFile( Class System.Type type, String strAsmName, String strAsmCodeBase, Class System.IO.Stream regFile);
- Void AddComImportedTypeToRegFile( Class System.Type type, String strAsmName, String strAsmCodeBase, Class System.IO.Stream regFile);
- Void AddPrimaryInteropAssemblyToRegFile( String strAsmGuid, String strAsmName, String strAsmCodeBase, Class System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute attr, Class System.IO.Stream regFile);
- Void WriteUTFChars( Class System.IO.Stream s, String value);
- Void RegisterMainTypeLib( Class System.Reflection.Assembly asm);
- Void UnRegisterMainTypeLib();
- Boolean IsAssemblyImportedFromCom( Class System.Reflection.Assembly asm);
- Void InitMsCorEEFullPath();
- Void ThrowAppException( String strPrefix, Class System.Exception e);
- Void WriteErrorMsg( String strPrefix, Class System.Exception e);
- Void WriteErrorMsg( String strErrorMsg);
- Void WriteWarningMsg( String strErrorMsg);
- I GetModuleHandle( String strLibrary);
- I4 GetModuleFileName( I BaseAddress, Class System.Text.StringBuilder sbOutPath, I4 length);
- Void LoadTypeLibEx( String strTypeLibName, ValueClass RegCode.REGKIND regKind, ByRef Class System.Runtime.InteropServices.UCOMITypeLib TypeLib);
- Void RegisterTypeLib( Class System.Runtime.InteropServices.UCOMITypeLib TypeLib, String szFullPath, String szHelpDirs);
- Void UnRegisterTypeLib( ByRef ValueClass System.Guid libID, I2 wVerMajor, I2 wVerMinor, I4 lcid, ValueClass System.Runtime.InteropServices.SYSKIND syskind);
- Void RegCode.RegCode();
- Void RegCode.RegCode();
- }
- interface RegCode.UCOMICreateITypeLib :
- {
- Void CreateTypeInfo();
- Void SetName();
- Void SetVersion();
- Void SetGuid();
- Void SetDocString();
- Void SetHelpFileName();
- Void SetHelpContext();
- Void SetLcid();
- Void SetLibFlags();
- Void SaveAllChanges();
- }
- class RegCode.ExporterCallback : System.Object
- {
- Void ReportEvent( ValueClass System.Runtime.InteropServices.ExporterEventKind EventKind, I4 EventCode, String EventMsg);
- Object ResolveRef( Class System.Reflection.Assembly asm);
- Void RegCode.ExporterCallback();
- }