Пример #1
0
        internal static bool ModAddPublic2(ModPtr pmod, string szPublic, ushort isect, int off, CV_PUBSYMFLAGS_e cvpsf = 0)
        {
            szPublic += '\0';

            fixed(byte *mb = Encoding.UTF8.GetBytes(szPublic))
            return(ModAddPublic2(pmod, mb, isect, off, cvpsf));
        }
Пример #2
0
 internal static extern bool ModClose(ModPtr ppdb);
Пример #3
0
 internal static extern bool ModAddPublic2(ModPtr pmod, byte *szPublic, ushort isect, int off, CV_PUBSYMFLAGS_e cvpsf = 0);
Пример #4
0
 internal static extern bool DBIOpenModW(DbiPtr pdbi, char *szModule, char *szFile, out ModPtr ppmod);
Пример #5
0
        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));
        }