How To Enumerate 16-bit Tasks on Window NT Using Visual Basic (242416)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows NT
- Microsoft Visual Basic Learning Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows NT
- Microsoft Visual Basic Professional Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows NT
- Microsoft Visual Basic Professional Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows NT
- Microsoft Visual Basic Enterprise Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows NT
- Microsoft Visual Basic Enterprise Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows NT
This article was previously published under Q242416 SUMMARY
There may be times when it is necessary to enumerate all of the 16-bit tasks that are running on a Windows NT system. To do this you use the VDMEnumProcessWOW and VDMEnumTaskWOWEx API functions. The MORE INFORMATION section to follow demonstrates how to use these functions within Visual Basic. Note, that it is also necessary to use call back functions to enumerate the 16-bit processes. If you are unfamiliar with the use of callback functions from within Visual Basic, see the article mentioned in the REFERENCES section of this article.
REFERENCES170570 How To Build a Windows Message handler with Addressof in VB
181578 How To CallBack Visual Basic Functions From a C Dll
| Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
|---|
| Keywords: | kbAPI kbhowto KB242416 |
|---|
|