コード例 #1
0
        public string ToString(int depth)
        {
            string s = string.Format("{0}lpRes->res.resExist.ulPropTag = 0x{1:X8}\n", SRestriction.Indent(depth), prop);

            s += string.Format("{0}lpRes->res.resExist.ulReserved1 = 0x{1:X8}\n", SRestriction.Indent(depth), dwReserved1);
            s += string.Format("{0}lpRes->res.resExist.ulReserved2 = 0x{1:X8}\n", SRestriction.Indent(depth), dwReserved2);
            return(s);
        }
コード例 #2
0
        public string ToString(int depth)
        {
            string s = string.Format("{0}lpRes->res.resBitMask.relBMR = BMR_{1} = 0x{2:X8}\n", SRestriction.Indent(depth), bmr, (int)bmr);

            s += string.Format("{0}lpRes->res.resBitMask.ulMask = 0x{1:X8}\n", SRestriction.Indent(depth), mask);
            s += string.Format("{0}lpRes->res.resBitMask.ulPropTag = 0x{1:X8}\n", SRestriction.Indent(depth), prop);
            return(s);
        }
コード例 #3
0
        public string ToString(int depth)
        {
            string s = string.Format("{0}lpRes->res.resNot.ulReserved = 0x{1:X8}\n", SRestriction.Indent(depth), dwReserved);

            s += string.Format("{0}lpRes->res.resNot.lpRes\n", SRestriction.Indent(depth));
            s += ptr->ToString(depth + 1);
            return(s);
        }
コード例 #4
0
        public string ToString(string name, int depth)
        {
            string s = string.Format("{0}lpRes->res.res{1}.cRes = 0x{2:X8}\n", SRestriction.Indent(depth), name, cb);

            for (uint i = 0; i < cb; ++i)
            {
                s += string.Format("{0}lpRes->res.res{1}.lpRes[0x{2:X8}]\n", SRestriction.Indent(depth), name, i);
                s += ptr[i].ToString(depth + 1);
            }
            return(s);
        }
コード例 #5
0
        public string ToString(int depth)
        {
            string s = string.Format(
                "{0}lpRes->res.resContent.ulFuzzyLevel = FL_{2} = 0x{1:X8}\n" +
                "{0}lpRes->res.resContent.ulPropTag = {3}\n",
                SRestriction.Indent(depth),
                (int)ulFuzzyLevel,
                ulFuzzyLevel,
                ulPropTag
                );

            s += string.Format("{0}lpRes->res.resContent.lpProp->ulPropTag = {1}\n",
                               SRestriction.Indent(depth),
                               ulPropTag
                               );

            s += string.Format("{0}lpRes->res.resContent.lpProp->Value = {1}\n",
                               SRestriction.Indent(depth),
                               *prop
                               );
            return(s);
        }
コード例 #6
0
        public string ToString(int depth)
        {
            string s = string.Format(
                "{0}lpRes->res.resProperty.relop = {2} = 0x{1:X8}\n" +
                "{0}lpRes->res.resProperty.ulPropTag = {3}\n",
                SRestriction.Indent(depth),
                (int)relop,
                RELOP_NAMES[(int)relop],
                ulPropTag
                );

            s += string.Format("{0}lpRes->res.resProperty.lpProp->ulPropTag = {1}\n",
                               SRestriction.Indent(depth),
                               ulPropTag
                               );

            s += string.Format("{0}lpRes->res.resProperty.lpProp->Value = {1}\n",
                               SRestriction.Indent(depth),
                               *prop
                               );

            return(s);
        }