Alex Fedotov.com 

Building and Running Samples

All samples in this section were built with Microsoft Visual C++ 6.0. I'm doing my best to ensure that they will compile smoothly with Visual C++.NET.

In addition to the compiler, most of the samples require Microsoft Platform SDK and/or Windows NT DDK to compile. Such additional requirements are specified on the left side of individual samples pages.

Even if you can't build a sample immediately, you can always try a prebuilt version, which is included with all samples.

Some samples can only run on specific Windows versions and some require additional redistributable packages to be installed. All run-time requirements are also specified on individual samples pages.

<< Hide left pane

Code Samples

Enumerating ROT Sample
This sample shows how to enumerate all objects registered in the Running Object Table (ROT) and print names of the corresponding monikers.

Paging Files Sample
This sample demonstrates how to obtain information about all paging files in the system using the undocumented ZwQuerySystemInformation function.

Processes and Threads Sample
This sample demonstrates how to list all processes in the system and their threads using the undocumented ZwQuerySystemInformation function. It also provides source code for OpenThread replacement on Windows NT 4.

WMI Top Sample
The sample shows how to measure processor usage with WMI interfaces. This is a command-line utility similar to the Unix top utility. It runs on any Windows version that supports WMI.

Best viewed with Microsoft Internet Explorer 4.0+Send feedback to: me@alexfedotov.com
Last modified on Fri, Feb 10 2006

HotLog