computerinfo_demo.zip
ComputerInformation
Bin
Debug
Inc
Lib
md
SocketUtil
SocketUtil.dsp
SystemApplication
hlp
AfxDlg.rtf
SystemApplication.cnt
SYSTEMAPPLICATION.HLP
SystemApplication.hpj
SystemApplication.ph
md
res
SysApp.ico
SystemApplication.ico
SystemApplication.dep
SystemApplication.dsp
SystemApplication.dsw
SystemApplication.odl
SystemApplication.suo
SystemCPU
CPUInformation.rgs
SystemCPU.def
SystemCPU.dsp
SystemCPU.dsw
SystemCPUps.def
SystemDevices
HWDevices.rgs
SystemDevices.def
SystemDevices.rgs
SystemDevicesps.def
SystemHDisk
HDiskInformation.rgs
SystemHDisk.def
SystemHDisk.dsp
SystemHDisk.dsw
SystemHDiskps.def
SystemInfo
SystemInfo.def
SystemInfo.dsp
SystemInfo.dsw
SystemInfops.def
SystemInformation.rgs
SystemKeyboard
PSKeyboardInformation.rgs
SystemKeyboard.def
SystemKeyboard.dsp
SystemKeyboard.vspscc
SystemKeyboardps.def
SystemLocale
LocaleInformation.rgs
SystemLocale.def
SystemLocale.dsp
SystemLocaleps.def
SystemMemory
MemoryInformation.rgs
SystemMemory.def
SystemMemory.dsp
SystemMemory.dsw
SystemMemoryps.def
SystemMisc
MiscInfomation2.rgs
MiscInformation.rgs
MiscInformation2.rgs
SystemMisc.def
SystemMisc.dsp
SystemMisc.dsw
SystemMiscps.def
SystemModem
ModemInformation.rgs
SystemModem.def
SystemModem.dsp
SystemModemps.def
SystemMouse
MouseInformation.rgs
SystemMouse.def
SystemMouse.dsp
SystemMouse.dsw
SystemMouseps.def
SystemMultiMedia
MultiMediaDevice.rgs
MultiMediaDeviceList.rgs
MultiMediaInformation.rgs
SystemMultiMedia.def
SystemMultiMedia.dsp
SystemMultiMedia.dsw
SystemMultiMediaps.def
SystemNetwork
NetworkInformation.rgs
SystemNetwork.def
SystemNetwork.dsp
SystemNetworkps.def
SystemOS
OSInformation.rgs
SystemOS.def
SystemOS.dsp
SystemOS.dsw
SystemOSps.def
SystemPnPDevices
PnPDevice.rgs
PnPDeviceDriver.rgs
PnPDeviceDrivers.rgs
PnPDevices.rgs
PnPDevicesInfo.rgs
SystemPnPDevices.def
SystemPnPDevices.dsp
SystemPnPDevicesps.def
SystemProtectFiles
ProtectedFilesInfo.rgs
SystemProtectFiles.def
SystemProtectFiles.dep
SystemProtectFiles.dsp
SystemProtectFilesps.def
SystemStorage
StorageMediaInformation.rgs
SystemStorage.def
SystemStorage.dsp
SystemStorage.dsw
SystemStorageps.def
TestConsole
|
// Disclaimer and Copyright Information
// MultiMediaInfoPage.h :
//
// All rights reserved.
//
// Written by Naveen K Kohli (naveenkohli@netzero.net)
// Version 1.0
//
// Distribute freely, except: don't remove my name from the source or
// documentation (don't take credit for my work), mark your changes (don't
// get me blamed for your possible bugs), don't alter or remove this
// notice.
// No warrantee of any kind, express or implied, is included with this
// software; use at your own risk, responsibility for damages (if any) to
// anyone resulting from the use of this software rests entirely with the
// user.
//
// Send bug reports, bug fixes, enhancements, requests, flames, etc. to
// naveenkohli@netzero.net
///////////////////////////////////////////////////////////////////////////////
//
#if !defined(AFX_MULTIMEDIAINFOPAGE_H__B6308691_CF52_11D2_8C83_000000000000__INCLUDED_)
#define AFX_MULTIMEDIAINFOPAGE_H__B6308691_CF52_11D2_8C83_000000000000__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class MultiMediaInfoPage : public CPropertyPage
{
DECLARE_DYNCREATE(MultiMediaInfoPage)
// Construction
public:
MultiMediaInfoPage();
~MultiMediaInfoPage();
inline void SetSystemInfo (ISystemInformation *pSystemInfo = NULL, CFile *pFile = NULL);
// Dialog Data
//{{AFX_DATA(MultiMediaInfoPage)
enum { IDD = IDD_MULTIMEDIA_PROP_PAGE };
CListCtrl m_ListCtrl;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(MultiMediaInfoPage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(MultiMediaInfoPage)
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void SetListData ();
CFile *m_pOutputFile;
ISystemInformation *m_pSystemInfo;
VARIANT_BOOL m_bInstalled;
VARIANT_BOOL m_bHasVolCtrl;
VARIANT_BOOL m_bHasSepLRCtrl;
BSTR m_bstrProductName;
BSTR m_bstrCompanyName;
};
inline void
MultiMediaInfoPage::SetSystemInfo (ISystemInformation *pSystemInfo, CFile *pFile)
{
ASSERT (pSystemInfo != NULL);
m_pSystemInfo = pSystemInfo;
m_pOutputFile = pFile;
}
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MULTIMEDIAINFOPAGE_H__B6308691_CF52_11D2_8C83_000000000000__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of use 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.
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