devicelist.h
来自「Programming the Microsoft Windows driver」· C头文件 代码 · 共 34 行
H
34 行
// DeviceList.h - Interface to CDeviceList class
// Copyright (C) 1999 by Walter Oney
// All rights reserved
#ifndef DEVICELIST_H
#define DEVICELIST_H
///////////////////////////////////////////////////////////////////////////////
class CDeviceListEntry
{ // class CDeviceListEntry
public:
CDeviceListEntry(LPCTSTR linkname, LPCTSTR friendlyname);
CDeviceListEntry(){}
CString m_linkname;
CString m_friendlyname;
}; // class CDeviceListEntry
///////////////////////////////////////////////////////////////////////////////
class CDeviceList
{ // class CDeviceList
public:
CDeviceList(const GUID& guid);
~CDeviceList();
GUID m_guid; // the interface GUID for this list
CArray<CDeviceListEntry, CDeviceListEntry&> m_list; // list of devices
int Initialize();
}; // class CDeviceList
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?