下面贴一下从DxDiag中枚举到得部分字段,这个是方便以后使用的。免得每次都用时IDXDiagContainer::EnumPropNames和IDXDiagContainer::EnumChildContainerNames来获取相关信息了。只用这个com接口需要DX编程中的一些头文件。详细查看DX编程帮助文档中的
DXDiag Interfaces说明。
DxDiag_SystemInfo.dwOSMajorVersion = 5
DxDiag_SystemInfo.dwOSMinorVersion = 1
DxDiag_SystemInfo.dwOSBuildNumber = 2600
DxDiag_SystemInfo.dwOSPlatformID = 2
DxDiag_SystemInfo.dwDirectXVersionMajor = 9
DxDiag_SystemInfo.dwDirectXVersionMinor = 0
DxDiag_SystemInfo.szDirectXVersionLetter = c
DxDiag_SystemInfo.bDebug = false
DxDiag_SystemInfo.bNECPC98 = false
DxDiag_SystemInfo.ullPhysicalMemory = 400998400
DxDiag_SystemInfo.ullUsedPageFile = 447889408
DxDiag_SystemInfo.ullAvailPageFile = 515325952
DxDiag_SystemInfo.bNetMeetingRunning = false
DxDiag_SystemInfo.bIsD3D8DebugRuntimeAvailable = false
DxDiag_SystemInfo.bIsD3DDebugRuntime = false
DxDiag_SystemInfo.bIsDInput8DebugRuntimeAvailable = false
DxDiag_SystemInfo.bIsDInput8DebugRuntime = false
DxDiag_SystemInfo.bIsDMusicDebugRuntimeAvailable = false
DxDiag_SystemInfo.bIsDMusicDebugRuntime = false
DxDiag_SystemInfo.bIsDDrawDebugRuntime = false
DxDiag_SystemInfo.bIsDPlayDebugRuntime = false
DxDiag_SystemInfo.bIsDSoundDebugRuntime = false
DxDiag_SystemInfo.nD3DDebugLevel = 0
DxDiag_SystemInfo.nDDrawDebugLevel = 0
DxDiag_SystemInfo.nDIDebugLevel = 0
DxDiag_SystemInfo.nDMusicDebugLevel = 0
DxDiag_SystemInfo.nDPlayDebugLevel = 0
DxDiag_SystemInfo.nDSoundDebugLevel = 0
DxDiag_SystemInfo.nDShowDebugLevel = 0
DxDiag_SystemInfo.szWindowsDir = C:/WINDOWS
DxDiag_SystemInfo.szBuildLab = 2600.xpsp.050928-1517
DxDiag_SystemInfo.szDxDiagVersion = 5.03.2600.2180
DxDiag_SystemInfo.szSetupParamEnglish = Not found
DxDiag_SystemInfo.szProcessorEnglish = AMD Sempron(tm) Processor 3100+, MMX, 3DNow, ~1.8GHz
DxDiag_SystemInfo.szSystemManufacturerEnglish = Gateway
DxDiag_SystemInfo.szSystemModelEnglish = D3123
DxDiag_SystemInfo.szBIOSEnglish = Phoenix - AwardBIOS v6.00PG
DxDiag_SystemInfo.szPhysicalMemoryEnglish = 382MB RAM
DxDiag_SystemInfo.szCSDVersion = Service Pack 2
DxDiag_SystemInfo.szDirectXVersionEnglish = 4.09.0000.0904
DxDiag_SystemInfo.szDirectXVersionLongEnglish = DirectX 9.0c (4.09.0000.0904)
DxDiag_SystemInfo.szMachineNameLocalized = EMACHINE
DxDiag_SystemInfo.szOSLocalized = Microsoft Windows XP Home Edition
DxDiag_SystemInfo.szOSExLocalized = Microsoft Windows XP Home Edition (5.1, Build 2600)
DxDiag_SystemInfo.szOSExLongLocalized = Microsoft Windows XP Home Edition (5.1, Build 2600) Service Pack 2 (2600.xpsp.050928-1517)
DxDiag_SystemInfo.szLanguagesLocalized = English (Regional Setting: English)
DxDiag_SystemInfo.szPageFileLocalized = 427MB used, 491MB available
DxDiag_SystemInfo.szTimeLocalized = Wednesday, February 07, 2007, 10:25:16
DxDiag_SystemInfo.szMachineNameEnglish = EMACHINE
DxDiag_SystemInfo.szOSEnglish = Windows XP Home Edition
DxDiag_SystemInfo.szOSExEnglish = Windows XP Home Edition (5.1, Build 2600)
DxDiag_SystemInfo.szOSExLongEnglish = Windows XP Home Edition (5.1, Build 2600) Service Pack 2 (2600.xpsp.050928-1517)
DxDiag_SystemInfo.szLanguagesEnglish = English (Regional Setting: English)
DxDiag_SystemInfo.szPageFileEnglish = 427MB used, 491MB available
DxDiag_SystemInfo.szTimeEnglish = 2/7/2007, 10:25:16
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000009_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000009_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000009_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000009_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000a_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000a_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000a_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000a_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000b_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000b_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000b_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000b_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000c_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000c_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000c_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000c_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000d_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000d_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000d_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000d_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000e_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000e_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000e_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000e_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000f_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000f_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000f_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x8000000f_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000010_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000010_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000010_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000010_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000011_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000011_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000011_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000011_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000012_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000012_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000012_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000012_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000013_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000013_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000013_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000013_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000014_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000014_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000014_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000014_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000015_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000015_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000015_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000015_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000016_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000016_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000016_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000016_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000017_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000017_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000017_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000017_bits96_127 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000018_bits0_31 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000018_bits32_63 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000018_bits64_95 = 0
DxDiag_SystemInfo.ExtendedCPUFunctionBitmasks_0x80000018_bits96_127 = 0
DxDiag_DisplayDevices.0.szDeviceName = //./DISPLAY1
DxDiag_DisplayDevices.0.szDescription = NVIDIA GeForce 6100
DxDiag_DisplayDevices.0.szKeyDeviceID = Enum/PCI/VEN_10DE&DEV_0242&SUBSYS_60061509&REV_A2
DxDiag_DisplayDevices.0.szKeyDeviceKey = /Registry/Machine/System/CurrentControlSet/Control/Video/{5C88915A-10AD-403E-B5E9-EBF348DD4CC1}/0000
DxDiag_DisplayDevices.0.szManufacturer = NVIDIA
DxDiag_DisplayDevices.0.szChipType = GeForce 6100
DxDiag_DisplayDevices.0.szDACType = Integrated RAMDAC
DxDiag_DisplayDevices.0.szRevision =
DxDiag_DisplayDevices.0.szDisplayMemoryLocalized = 128.0 MB
DxDiag_DisplayDevices.0.szDisplayMemoryEnglish = 128.0 MB
DxDiag_DisplayDevices.0.szDisplayModeLocalized = 1024 x 768 (16 bit) (60Hz)
DxDiag_DisplayDevices.0.szDisplayModeEnglish = 1024 x 768 (16 bit) (60Hz)
DxDiag_DisplayDevices.0.dwWidth = 1024
DxDiag_DisplayDevices.0.dwHeight = 768
DxDiag_DisplayDevices.0.dwBpp = 16
DxDiag_DisplayDevices.0.dwRefreshRate = 60
DxDiag_DisplayDevices.0.szMonitorName = Plug and Play Monitor
DxDiag_DisplayDevices.0.szMonitorMaxRes = 1600,1200
DxDiag_DisplayDevices.0.szDriverName = nv4_disp.dll
DxDiag_DisplayDevices.0.szDriverVersion = 6.14.0010.8133
DxDiag_DisplayDevices.0.szDriverAttributes = Final Retail
DxDiag_DisplayDevices.0.szDriverLanguageEnglish = English
DxDiag_DisplayDevices.0.szDriverLanguageLocalized = English
DxDiag_DisplayDevices.0.szDriverDateEnglish = 9/18/2005 10:32:00
DxDiag_DisplayDevices.0.szDriverDateLocalized = 9/18/2005 10:32:00
DxDiag_DisplayDevices.0.lDriverSize = 3905408
DxDiag_DisplayDevices.0.szMiniVdd = nv4_mini.sys
szMinVddDateLocalized
szMinVddDateEnglish
szMinVddSize
szVdd
bCanRenderWindow
bDriverBeta
bDriverDebug
bDriverSigned
bDriverSignedValid
bDeviceIdentifier
bDriverSignDate
dwDDIVersion
szDDIVersionEnglish
szDDIVersionLocalized
iAdapter
szVendorId
szDeviceId
szSubSysId
szRevisionId
dwWHQLLevel
bNoHardware
bDDAccelerationEnabled
b3DAccelerationExists
b3DAccelerationEnabled
bAGPEnabled
bAGPExists
bAGPExistenceValid
szDXVAModes
szDDStatusLocalized
szDDStatusEnglish
szD3DStatusLocalized
szD3DStatusEnglish
szAGPStatusLocalized
szAGPStatusEnglish
szNotesLocalized
sznotesEnglish
szRegHelpText
szTestResultDDLocalized
szTestResultDDEnglish
szTestResultD3D7Localized
szTestResultD3D7English
szTestResultD3D8Localized
szTestResultD3D8English
szTestResultD3D9Localized
szTestResultD3D9English
DxDiag_DirectSound
DxDiag_SoundDevices.0
dwDevnode
szGuidDeviceID
szHardwardID
szRegKey
szManufaturerID
szProductID
szDescription
szDriverName
szDriverPath
szDriverVersion
szDriverLanguageEnglish
szDriverLanguageLocalized
szDriverAttributes
szDriverDateEnglish
szDriverDateLocalized
szOtherDrivers
szProvider
szType
lNumBytes
bDriverBeta
bDriverDebug
bDirverSigned
bDriversignedValid
lAccelerationLevel 没有加速0,基本加速1,标志加速2,完全加速3
bDefaultSoundPlayback
bDefaultVoicePlayback
bVoiceManager
bEAX20Listener
bEAX20Source
bI3DL2Listener
bI3DL2Source
bZoomFX
dwFlags
dwMinSecondarySampleRate
dwMaxSecondarySampleRate
dwPrimaryBuffers
dwMaxHwMixingAllBuffers
dwMaxHwMixingStaticBuffers
dwMaxHwMixingStreamingBuffers
dwFreeHwMixingAllBuffers
dwFreeHwMixingStaticBuffers
dwFreeHwMixingStreamingBuffers
dwMaxHw3DAllBuffers
dwMaxHw3DStaticBuffers
dwMaxHw3DStreamingBuffers
dwFreeHw3DAllBuffers
dwFreeHw3DStaticBuffers
dwFreeHw3DStreamingBuffers
dwTotalHwMemBytes
dwFreeHwMemBytes
dwMaxContigFreeHwMemBytes
dwUnlockTransferRateHwBuffers
dwPlayCpuOverheadSwBuffers
szNotesLocalized
szNotesEnglish
szRegHelpText
szTestResultLocalized
szTestResultEnglish