Click here to Skip to main content
12,446,703 members (55,929 online)
Click here to Skip to main content

Stats

169.7K 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
// SerialEnum.h : main header file for the PROJECT_NAME application
//

#pragma once

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols


// CSerialEnumApp:
// See SerialEnum.cpp for the implementation of this class
//

class CSerialEnumApp : public CWinApp
{
public:
	CSerialEnumApp();

// Overrides
	public:
	virtual BOOL InitInstance();

// Implementation

	DECLARE_MESSAGE_MAP()
};

extern CSerialEnumApp theApp;

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.160811.3 | Last Updated 21 Jul 2002
Article Copyright 2002 by Zach Gorman
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid