Example #1
0
        private int OutputLineHelper(string formattedString, DEBUG_OUTPUT outputType)
        {
            formattedString = EscapePercents(formattedString);
            int hr = DebugControl.ControlledOutputWide(OutCtl, outputType, formattedString);

            return(FAILED(hr) ? hr : DebugControl.ControlledOutputWide(OutCtl, outputType, "\n"));
        }
Example #2
0
        /// <summary>
        /// Outputs a string that contains one or more DML block
        /// </summary>
        /// <param name="formattedDmlString">String containing DML</param>
        /// <returns>HRESULT of the IDebugControl4::ControlledOutputWide or IDebugControl::ControlledOutput call</returns>
        public int OutputWarningDMLPreformattedLine(string formattedDmlString)
        {
            formattedDmlString = EscapePercents(formattedDmlString);
            int hr = DebugControl.ControlledOutputWide(OutCtl | DEBUG_OUTCTL.DML, DEBUG_OUTPUT.WARNING, formattedDmlString);

            return(FAILED(hr) ? hr : DebugControl.ControlledOutputWide(OutCtl, DEBUG_OUTPUT.WARNING, "\n"));
        }
Example #3
0
 /// <summary>
 /// Outputs a string that contains one or more DML block
 /// </summary>
 /// <param name="formattedDmlString">String containing DML</param>
 /// <returns>HRESULT of the IDebugControl4::ControlledOutputWide or IDebugControl::ControlledOutput call</returns>
 public int OutputVerboseDMLPreformatted(string formattedDmlString)
 {
     formattedDmlString = EscapePercents(formattedDmlString);
     return(DebugControl.ControlledOutputWide(OutCtl | DEBUG_OUTCTL.DML, DEBUG_OUTPUT.VERBOSE, formattedDmlString));
 }
Example #4
0
 /// <summary>
 /// Outputs a string that contains one or more DML block
 /// </summary>
 /// <param name="formattedDmlString">String containing DML</param>
 /// <returns>HRESULT of the IDebugControl4::ControlledOutputWide or IDebugControl::ControlledOutput call</returns>
 public int OutputWarningDMLPreformatted(string formattedDmlString)
 {
     formattedDmlString = EscapePercents(formattedDmlString);
     return(DebugControl.ControlledOutputWide(OutCtl | DEBUG_OUTCTL.DML, DEBUG_OUTPUT.WARNING, formattedDmlString));
 }
Example #5
0
 private int OutputHelper(string formattedString, DEBUG_OUTPUT outputType)
 {
     formattedString = EscapePercents(formattedString);
     return(DebugControl.ControlledOutputWide(OutCtl, outputType, formattedString));
 }