internal static bool DBIOpenModW(DbiPtr pdbi, string szModule, string szFile, out ModPtr ppmod) { szFile += '\0'; szModule += '\0'; fixed(char *fp = szFile) fixed(char *mp = szModule) return(DBIOpenModW(pdbi, mp, fp, out ppmod)); }
internal static bool PDBOpenDBI(PdbPtr ppdb, string szMode, string szTarget, out DbiPtr ppdbi) { szMode += '\0'; szTarget += '\0'; fixed(byte *mb = Encoding.UTF8.GetBytes(szMode)) fixed(byte *tb = Encoding.UTF8.GetBytes(szTarget)) return(PDBOpenDBI(ppdb, mb, tb, out ppdbi)); }
internal static extern bool DBIClose(DbiPtr ppdb);
internal static extern bool DBIAddSec(DbiPtr pdbi, ushort isect, ushort flags, int off, int cb);
internal static extern bool DBIAddPublic2(DbiPtr pdbi, byte *szPublic, ushort isect, int off, CV_PUBSYMFLAGS_e cvpsf = 0);
internal static extern bool DBIOpenModW(DbiPtr pdbi, char *szModule, char *szFile, out ModPtr ppmod);
internal static extern bool PDBOpenDBI(PdbPtr ppdb, byte *szMode, byte *szTarget, out DbiPtr ppdbi);