Share via


Performance Monitor Extension DLL Authoring (Windows Embedded CE 6.0)

1/5/2010

Writing a Performance Monitor Extension DLL is similar to writing an extension for the Performance Monitor for a Windows-based desktop device.

You can find a simple extension model sample that connects to a device-side server in the C:\Program Files\Common Files\Microsoft Shared\Platman\sdk\wce600\samples\ceperf directory. For more information about the sample, see the Readme.htm file in that directory.

The Performance Monitor Extension Model is identical to the model for Windows-based desktop devices, with the following exceptions:

  • Registry values
    A Performance Monitor Extension DLL uses a different registry value name for the library path to avoid conflicting with existing performance objects for Windows-based desktop devices.
    For the Performance Monitor, the CEPERFLIBRARY registry value replaces the LIBRARY registry value for the Performance Monitor for Windows-based desktop devices.
    The following example shows how to register a Windows Embedded CE performance object for Performance Monitor.

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CERasStats\Performance]
    ...
    "CEPerfLibrary 600" = "C:\\Projects\\DataViz\\NetMon\\CEPerf\\debug\\cerasstats.dll"
    
  • PERF types
    For detailed reference information about the subset of PERF types that are supported by Windows Embedded CE Performance Monitor, see Calculations for Raw Counter Data.

See Also

Concepts

Performance Monitor