CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of etw
C++
/*
WRITE A PROGRAM TO CALCULATE NUMBERS OF DAYS BETWEEN  1 JAN 1900 AND USER ENTERED DATE.
 
 
 
NOTE: 1900 was not leap year, after that every 4 year there is leap year 1904,1908, 1912 ...) upto 2096 .
now again 3000 is not leap year and so on after 3000 (3004, 3008, 30012  ) is leap year .
u can calulate that .
in case  u know about leap year.
http://kalender-365.de/leap-years.php
by niraj   April 09, 2011 @ 12:16pm
95 Views
no comments
 
BeginHeader
   UnknownEvent/Classic,  TimeStamp,     Process Name ( PID),   ThreadID, CPU,                              EventGuid, Type, Level, Version, MofLength
   InvalidEvent/Classic,  TimeStamp,     Process Name ( PID),   ThreadID, CPU,                              EventGuid, Type, Level, Version, MofLength
   UnknownEvent/Crimson,  TimeStamp,     Process Name ( PID),   ThreadID, CPU,                             ProviderId,     Id,   Task, Opcode, Version, Channel, Level,            Keyword, UserDataLength
   InvalidEvent/Crimson,  TimeStamp,     Process Name ( PID),   ThreadID, CPU,                             ProviderId,     Id,   Task, Opcode, Version, Channel, Level,            Keyword, UserDataLength
Microsoft-Windows-DotNETRuntime/Exception /Start ,  TimeStamp,     Process Name ( PID),   ThreadID, CPU, etw:ActivityId, etw:Related ActivityId, etw:UserSid, etw:SessionId, ExceptionType, ExceptionMessage, ExceptionEIP, ExceptionHRESULT, ExceptionFlags, ClrInstanceID
Microsoft-Windows-DotNETRuntime/Runtime /Start ,  TimeStamp,     Process Name ( PID),   ThreadID, CPU, etw:ActivityId, etw:Related ActivityId, etw:UserSid, etw:SessionId, ClrInstanceID, Sku, BclMajorVersion, BclMinorVersion, BclBuildNumber, BclQfeNumber, VMMajorVersion, VMMinorVersion, VMBuildNumber, VMQfeNumber, StartupFlags, StartupMode, CommandLine, ComObjectGuid, RuntimeDllPath
FirstReliableEventTimeStamp, TimeStamp
EndHeader
OS Version: 6.1.7600, Trace Size: 128KB, Events Lost: 0, Buffers lost: 0, Trace Start: 129137010665867140, Trace Length: 24 sec, PointerSize: 8, Trace Name: clrevents.etl
by naveensrinivasan   March 21, 2010 @ 8:29pm
Tags: etw
714 Views
no comments
 
C#
//---------------------------------------------------------------------
// <autogenerated>
//
//     Generated by Message Compiler (mc.exe)
//
//     Copyright (c) Microsoft Corporation. All Rights Reserved.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </autogenerated>
by naveensrinivasan   March 16, 2010 @ 9:45pm
Tags: etw
803 Views
no comments
 
XML
<?xml version="1.0" encoding="UTF-16"?>
<instrumentationManifest xsi:schemaLocation="http://schemas.microsoft.com/win/2004/08/events eventman.xsd" xmlns="http://schemas.microsoft.com/win/2004/08/events" xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:trace="http://schemas.microsoft.com/win/2004/08/events/trace">
    <instrumentation>
        <events>
            <provider name="SampleProvider" message="$(string.ProviderMessage)" guid="{D9B453B9-6230-486C-8DEC-C7C5A2230D04}" symbol="SampleProvider" resourceFileName="f:\downloads\EtwProvider.exe" messageFileName="f:\downloads\EtwProvider.exe">
                <events>
                    <event symbol="SampleEvent" value="1001" version="1" channel="SampleOperationalChannel" level="win:Informational" template="SimpleTemplate" task="SampleTask" opcode="SampleOpCode" keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)">
                    </event>
                </events>
                <levels>
by naveensrinivasan   March 16, 2010 @ 9:30pm
Tags: etw
257 Views
no comments
 
C#
    public abstract class ContentPreprocessorBase
    {
        abstract protected string PreprocessContent(string stringToProcess);
by Stephen Bohlen   December 08, 2009 @ 9:36am
300 Views
no comments
 
C#
namespace Guerche.Evaristo.Luciano.Utils.ComputerInfo
{
    using System;
    using System.Linq;
    using System.Net.NetworkInformation;
 
    class Program
    {
        static void Main(string[] args)
        {
309 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate