示例#1
0
        protected override void ReadList(IntPtr ptr, IntPtr ptrTerm, string listType)
        {
            switch (listType)
            {
            case "pdta":
                mPdta = new PDTA(ptr, ptrTerm);
                break;

            case "sdta":
                mSdta = new SDTA(ptr, ptrTerm);
                break;

            default:
                break;
            }
        }
示例#2
0
        protected override void LoadList(IntPtr ptr, string listType, uint listSize)
        {
            switch (listType)
            {
            case "pdta":
                mPdta = new PDTA(ptr, listSize);
                break;

            case "sdta":
                mSdta = new SDTA(ptr, listSize);
                break;

            default:
                break;
            }
        }