コード例 #1
0
            public int OutputLineMaskDisabled(DebugUtilities d)
            {
                if (string.IsNullOrEmpty(Data.ToString()))
                {
                    return(S_OK);
                }
                DEBUG_OUTCTL outctl;

                if (d.IsFirstCommand)
                {
                    outctl = DEBUG_OUTCTL.ALL_CLIENTS;
                }
                else
                {
                    outctl = DEBUG_OUTCTL.THIS_CLIENT | DEBUG_OUTCTL.NOT_LOGGED;
                }

                if (IsDML)
                {
                    outctl |= DEBUG_OUTCTL.DML;
                }

                d.DebugClient.FlushCallbacks();
                d.OutputMaskRestore();
                var hr = d.ControlledOutputWide(outctl, Mask, Data.ToString());

                d.OutputMaskDisableAll();
                d.DebugClient.FlushCallbacks();

                return(hr);
            }
コード例 #2
0
            public int OutputLine(DebugUtilities d)
            {
                if (string.IsNullOrEmpty(Data.ToString()))
                {
                    return(S_OK);
                }
                DEBUG_OUTCTL outctl;

                if (d.IsFirstCommand)
                {
                    outctl = DEBUG_OUTCTL.ALL_CLIENTS;
                }
                else
                {
                    outctl = DEBUG_OUTCTL.THIS_CLIENT | DEBUG_OUTCTL.NOT_LOGGED;
                }

                if (IsDML)
                {
                    outctl |= DEBUG_OUTCTL.DML;
                }

                return(d.ControlledOutputWide(outctl, Mask, Data.ToString()));
            }
コード例 #3
0
 public int OutputLine(DebugUtilities d)
 {
     return(d.ControlledOutputWide(OutputControl, Mask, Data));
 }
コード例 #4
0
 public int OutputLine(DebugUtilities d)
 {
     return(d.ControlledOutputWide(_outputControl, _mask, _data));
 }