SOL9 2.0 Sample: PerformanceCounterPathExpander

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * PerformanceCounterPathExpander.cpp 
 * Copyright (c) 2009 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */



// SOL9
// 2009/09/30

#include <sol/pdh/PerformanceCounterPathExpander.h>

void _tmain(int argc, TCHAR** argv)
{
    try {
        PerformanceCounterPathExpander expander;

        const TCHAR* wildCardPath = _T("\\Process(*)\\ID Process");

        expander.expand(wildCardPath);

        expander.display();

    } catch (...) {

    }

}

Last modified: 11 Nov 2009

Copyright (c) 2009 Antillia.com ALL RIGHTS RESERVED.