Click here to Skip to main content
12,398,537 members (59,188 online)
Click here to Skip to main content

Stats

169.1K views
6.8K downloads
36 bookmarked
Posted

Enumerating serial ports - W2K style.

, 20 Jul 2002
Enumerating the serial ports using the SetupDi* API provided with Win2K and later
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by SerialEnum.rc
//
#define IDR_MANIFEST                    1
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_SERIALENUM_DIALOG           102
#define IDR_MAINFRAME                   128
#define IDC_LIST1                       1000
#define IDC_PORTLIST                    1000

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        129
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1001
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Zach Gorman
United States United States
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160721.1 | Last Updated 21 Jul 2002
Article Copyright 2002 by Zach Gorman
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid