[11] | 1 | //////////////////////////////////////////////////////////// |
---|
| 2 | // Copyright (C) Roman Ryltsov, 2008-2011 |
---|
| 3 | // Created by Roman Ryltsov roman@alax.info |
---|
| 4 | |
---|
| 5 | #pragma once |
---|
| 6 | |
---|
[619] | 7 | #include "rodshow.h" |
---|
[792] | 8 | #include "romf.h" |
---|
[11] | 9 | #include <mmdeviceapi.h> |
---|
[522] | 10 | #include <mmreg.h> |
---|
[11] | 11 | #include <functiondiscoverykeys.h> |
---|
| 12 | #include <propkey.h> |
---|
| 13 | #include <devpkey.h> |
---|
[590] | 14 | #include <devicetopology.h> |
---|
[619] | 15 | #include <audioclient.h> |
---|
| 16 | #include <endpointvolume.h> |
---|
| 17 | #include <audiopolicy.h> |
---|
| 18 | //#include <dsound.h> |
---|
[11] | 19 | #include "AboutDialog.h" |
---|
| 20 | |
---|
| 21 | //////////////////////////////////////////////////////////// |
---|
| 22 | // CMainDialog |
---|
| 23 | |
---|
| 24 | class CMainDialog : |
---|
| 25 | public CDialogImpl<CMainDialog>, |
---|
| 26 | public CDialogResize<CMainDialog> |
---|
| 27 | { |
---|
| 28 | public: |
---|
| 29 | enum { IDD = IDD_MAIN }; |
---|
| 30 | |
---|
| 31 | BEGIN_MSG_MAP_EX(CMainDialog) |
---|
| 32 | //CHAIN_MSG_MAP(CMainDialog) |
---|
| 33 | CHAIN_MSG_MAP(CDialogResize<CMainDialog>) |
---|
| 34 | MSG_WM_INITDIALOG(OnInitDialog) |
---|
| 35 | MSG_WM_SYSCOMMAND(OnSysCommand) |
---|
| 36 | COMMAND_ID_HANDLER_EX(IDCANCEL, OnCommand) |
---|
| 37 | COMMAND_ID_HANDLER_EX(IDOK, OnCommand) |
---|
| 38 | END_MSG_MAP() |
---|
| 39 | |
---|
| 40 | BEGIN_DLGRESIZE_MAP(CMainDialog) |
---|
| 41 | DLGRESIZE_CONTROL(IDC_TEXT, DLSZ_SIZE_X | DLSZ_SIZE_Y) |
---|
| 42 | DLGRESIZE_CONTROL(IDOK, DLSZ_MOVE_X | DLSZ_MOVE_Y) |
---|
| 43 | END_DLGRESIZE_MAP() |
---|
| 44 | |
---|
| 45 | private: |
---|
[792] | 46 | CDpiAwareness m_DpiAwareness; |
---|
| 47 | CFont m_TextFont; |
---|
[11] | 48 | CRoEdit m_TextEdit; |
---|
[792] | 49 | CFont m_ButtonFont; |
---|
| 50 | CButton m_CloseButton; |
---|
[11] | 51 | |
---|
| 52 | public: |
---|
| 53 | // CMainDialog |
---|
[522] | 54 | static BOOL IsWaveFormatExKey(const PROPERTYKEY& Key) |
---|
| 55 | { |
---|
| 56 | if(Key == PKEY_AudioEngine_DeviceFormat) |
---|
| 57 | return TRUE; |
---|
| 58 | if(Key == PKEY_AudioEngine_OEMFormat) |
---|
| 59 | return TRUE; |
---|
| 60 | class __declspec(uuid("{3D6E1656-2E50-4C4C-8D85-D0ACAE3C6C68}")) A; |
---|
| 61 | if(Key.fmtid == __uuidof(A) && (Key.pid == 2 || Key.pid == 3)) |
---|
| 62 | return TRUE; |
---|
| 63 | class __declspec(uuid("{E4870E26-3CC5-4CD2-BA46-CA0A9A70ED04}")) B; |
---|
| 64 | if(Key.fmtid == __uuidof(B) && Key.pid == 0) // PKEY_AudioEngine_??? endpointkeys.h |
---|
| 65 | return TRUE; |
---|
| 66 | class __declspec(uuid("{624F56DE-FD24-473E-814A-DE40AACAED16}")) C; |
---|
| 67 | if(Key.fmtid == __uuidof(C) && Key.pid == 3) |
---|
| 68 | return TRUE; |
---|
| 69 | return FALSE; |
---|
| 70 | } |
---|
[792] | 71 | static VOID FormatWaveFormatEx(const WAVEFORMATEX* pWaveFormatEx, SIZE_T nWaveFormatExSize, CRoArrayT<CString>& Array) |
---|
| 72 | { |
---|
| 73 | _A(nWaveFormatExSize >= sizeof (WAVEFORMATEX)); |
---|
| 74 | Array.Add(AtlFormatString(_T("wFormatTag 0x%02X"), pWaveFormatEx->wFormatTag)); |
---|
| 75 | Array.Add(AtlFormatString(_T("nChannels %d"), pWaveFormatEx->nChannels)); |
---|
| 76 | Array.Add(AtlFormatString(_T("nSamplesPerSec %d"), pWaveFormatEx->nSamplesPerSec)); |
---|
| 77 | Array.Add(AtlFormatString(_T("nAvgBytesPerSec %d"), pWaveFormatEx->nAvgBytesPerSec)); |
---|
| 78 | Array.Add(AtlFormatString(_T("nBlockAlign %d"), pWaveFormatEx->nBlockAlign)); |
---|
| 79 | Array.Add(AtlFormatString(_T("wBitsPerSample %d"), pWaveFormatEx->wBitsPerSample)); |
---|
| 80 | Array.Add(AtlFormatString(_T("cbSize %d"), pWaveFormatEx->cbSize)); |
---|
| 81 | if(nWaveFormatExSize < sizeof (WAVEFORMATEXTENSIBLE) || pWaveFormatEx->wFormatTag != WAVE_FORMAT_EXTENSIBLE) |
---|
| 82 | return; |
---|
| 83 | const WAVEFORMATEXTENSIBLE* pWaveFormatExtensible = (const WAVEFORMATEXTENSIBLE*) pWaveFormatEx; |
---|
| 84 | Array.Add(AtlFormatString(_T("wValidBitsPerSample %d"), pWaveFormatExtensible->Samples.wValidBitsPerSample)); |
---|
| 85 | Array.Add(AtlFormatString(_T("dwChannelMask 0x%02X"), pWaveFormatExtensible->dwChannelMask)); |
---|
| 86 | Array.Add(AtlFormatString(_T("SubFormat %ls"), _PersistHelper::StringFromIdentifier(pWaveFormatExtensible->SubFormat))); |
---|
| 87 | } |
---|
[11] | 88 | |
---|
[619] | 89 | // Window Message Handler |
---|
| 90 | LRESULT OnInitDialog(HWND, LPARAM) |
---|
[11] | 91 | { |
---|
[792] | 92 | DlgResize_Init(); |
---|
| 93 | SetIcon(AtlLoadIconImage(IDI_MODULE, LR_DEFAULTCOLOR, GetSystemMetrics(SM_CXICON), GetSystemMetrics(SM_CYICON)), TRUE); |
---|
[11] | 94 | SetIcon(AtlLoadIconImage(IDI_MODULE, LR_DEFAULTCOLOR, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON)), FALSE); |
---|
| 95 | CMenuHandle Menu = GetSystemMenu(FALSE); |
---|
| 96 | _W(Menu.AppendMenu(MF_SEPARATOR)); |
---|
| 97 | _W(Menu.AppendMenu(MF_STRING, ID_APP_ABOUT, _T("&About..."))); |
---|
[619] | 98 | CAboutDialog::UpdateCaption(*this); |
---|
[792] | 99 | m_TextEdit = GetDlgItem(IDC_TEXT); |
---|
| 100 | m_TextFont = m_DpiAwareness.ScaleFont(m_TextEdit.GetFont(), 11); |
---|
| 101 | m_TextEdit.SetFont(m_TextFont); |
---|
| 102 | m_CloseButton = GetDlgItem(IDOK); |
---|
| 103 | m_ButtonFont = m_DpiAwareness.ScaleFont(GetFont(), 9); |
---|
| 104 | m_CloseButton.SetFont(m_ButtonFont); |
---|
| 105 | #pragma region Position |
---|
| 106 | { |
---|
| 107 | CRect Position; |
---|
| 108 | _W(GetWindowRect(Position)); |
---|
| 109 | const HMONITOR hMonitor = MonitorFromPoint(Position.CenterPoint(), MONITOR_DEFAULTTONEAREST); |
---|
| 110 | MONITORINFO Information = { sizeof Information }; |
---|
| 111 | if(GetMonitorInfo(hMonitor, &Information)) |
---|
| 112 | { |
---|
| 113 | CSize DefaultExtent = reinterpret_cast<const CRect&>(Information.rcWork).Size(); |
---|
| 114 | DefaultExtent.cx = DefaultExtent.cx * 6 / 8; |
---|
| 115 | DefaultExtent.cy = DefaultExtent.cy * 6 / 8; |
---|
| 116 | BOOL bUpdate = FALSE; |
---|
| 117 | CSize ExcessExtent(DefaultExtent.cx - Position.Width(), DefaultExtent.cy - Position.Height()); |
---|
| 118 | if(ExcessExtent.cx > 0) |
---|
| 119 | { |
---|
| 120 | Position.left -= ExcessExtent.cx / 2; |
---|
| 121 | Position.right = Position.left + DefaultExtent.cx; |
---|
| 122 | bUpdate = TRUE; |
---|
| 123 | } |
---|
| 124 | if(ExcessExtent.cy > 0) |
---|
| 125 | { |
---|
| 126 | Position.top -= ExcessExtent.cy / 2; |
---|
| 127 | Position.bottom = Position.top + DefaultExtent.cy; |
---|
| 128 | bUpdate = TRUE; |
---|
| 129 | } |
---|
| 130 | if(bUpdate) |
---|
| 131 | _W(MoveWindow(Position, FALSE)); |
---|
| 132 | } |
---|
| 133 | } |
---|
[11] | 134 | _W(CenterWindow()); |
---|
[792] | 135 | #pragma endregion |
---|
[11] | 136 | _ATLTRY |
---|
| 137 | { |
---|
| 138 | CWaitCursor WaitCursor; |
---|
| 139 | CString sText; |
---|
| 140 | #pragma region The Enumeration |
---|
| 141 | _ATLTRY |
---|
| 142 | { |
---|
| 143 | CComPtr<IMMDeviceEnumerator> pMmDeviceEnumerator; |
---|
| 144 | __C(pMmDeviceEnumerator.CoCreateInstance(__uuidof(MMDeviceEnumerator))); |
---|
| 145 | CComPtr<IMMDeviceCollection> pMmDeviceCollection; |
---|
| 146 | __C(pMmDeviceEnumerator->EnumAudioEndpoints(eAll, DEVICE_STATEMASK_ALL, &pMmDeviceCollection)); |
---|
| 147 | UINT nDeviceCount = 0; |
---|
| 148 | __C(pMmDeviceCollection->GetCount(&nDeviceCount)); |
---|
| 149 | for(UINT nDeviceIndex = 0; nDeviceIndex < nDeviceCount; nDeviceIndex++) |
---|
| 150 | _ATLTRY |
---|
[351] | 151 | { |
---|
[11] | 152 | sText.AppendFormat(_T("Device %d:\r\n"), nDeviceIndex); |
---|
| 153 | CComPtr<IMMDevice> pMmDevice; |
---|
| 154 | __C(pMmDeviceCollection->Item(nDeviceIndex, &pMmDevice)); |
---|
| 155 | CComHeapPtr<WCHAR> pszIdentifier; |
---|
| 156 | __C(pMmDevice->GetId(&pszIdentifier)); |
---|
| 157 | sText.AppendFormat(_T("\t") _T("Identifier\t%ls\r\n"), pszIdentifier); |
---|
[522] | 158 | #pragma region State |
---|
[11] | 159 | DWORD nState = 0; |
---|
| 160 | __C(pMmDevice->GetState(&nState)); |
---|
[522] | 161 | static const CFlagNameT<DWORD> g_pDeviceStateMap[] = |
---|
[11] | 162 | { |
---|
[522] | 163 | #define A(x) { x, #x }, |
---|
| 164 | A(DEVICE_STATE_ACTIVE) |
---|
| 165 | A(DEVICE_STATE_DISABLED) |
---|
| 166 | A(DEVICE_STATE_NOTPRESENT) |
---|
| 167 | A(DEVICE_STATE_UNPLUGGED) |
---|
| 168 | #undef A |
---|
[11] | 169 | }; |
---|
[522] | 170 | sText.AppendFormat(_T("\t") _T("State\t%s\t0x%02X\r\n"), FormatFlagsT(g_pDeviceStateMap, nState), nState); |
---|
[619] | 171 | #pragma endregion |
---|
[11] | 172 | #pragma region Property Store |
---|
| 173 | sText.AppendFormat(_T("\t") _T("Properties:\r\n")); |
---|
| 174 | CComPtr<IPropertyStore> pPropertyStore; |
---|
| 175 | __C(pMmDevice->OpenPropertyStore(STGM_READ, &pPropertyStore)); |
---|
| 176 | DWORD nPropertyCount = 0; |
---|
| 177 | __C(pPropertyStore->GetCount(&nPropertyCount)); |
---|
| 178 | for(DWORD nPropertyIndex = 0; nPropertyIndex < nPropertyCount; nPropertyIndex++) |
---|
| 179 | _ATLTRY |
---|
| 180 | { |
---|
| 181 | PROPERTYKEY Key; |
---|
| 182 | __C(pPropertyStore->GetAt(nPropertyIndex, &Key)); |
---|
| 183 | PROPVARIANT Value; |
---|
| 184 | PropVariantInit(&Value); |
---|
| 185 | __C(pPropertyStore->GetValue(Key, &Value)); |
---|
| 186 | _ATLTRY |
---|
| 187 | { |
---|
| 188 | CString sKeyName; |
---|
| 189 | // NOTE: This is brought to you by regexp .+{PKEY_[^,]+}.+ -> A(\1) |
---|
| 190 | #pragma region Named SDK constants |
---|
[522] | 191 | #define A(x) { &x, #x }, |
---|
| 192 | #define B(x) { &reinterpret_cast<const PROPERTYKEY&>(x), #x }, |
---|
| 193 | static const struct |
---|
| 194 | { |
---|
| 195 | const PROPERTYKEY* pKey; |
---|
| 196 | LPCSTR pszName; |
---|
| 197 | } g_pMap[] = |
---|
| 198 | { |
---|
[11] | 199 | #pragma region functiondiscoverykeys.h |
---|
| 200 | A(PKEY_NAME) |
---|
| 201 | A(PKEY_Device_DeviceDesc) |
---|
| 202 | A(PKEY_Device_HardwareIds) |
---|
| 203 | A(PKEY_Device_CompatibleIds) |
---|
| 204 | A(PKEY_Device_Service) |
---|
| 205 | A(PKEY_Device_Class) |
---|
| 206 | A(PKEY_Device_ClassGuid) |
---|
| 207 | A(PKEY_Device_Driver) |
---|
| 208 | A(PKEY_Device_ConfigFlags) |
---|
| 209 | A(PKEY_Device_Manufacturer) |
---|
| 210 | A(PKEY_Device_FriendlyName) |
---|
| 211 | A(PKEY_Device_LocationInfo) |
---|
| 212 | A(PKEY_Device_PDOName) |
---|
| 213 | A(PKEY_Device_Capabilities) |
---|
| 214 | A(PKEY_Device_UINumber) |
---|
| 215 | A(PKEY_Device_UpperFilters) |
---|
| 216 | A(PKEY_Device_LowerFilters) |
---|
| 217 | A(PKEY_Device_BusTypeGuid) |
---|
| 218 | A(PKEY_Device_LegacyBusType) |
---|
| 219 | A(PKEY_Device_BusNumber) |
---|
| 220 | A(PKEY_Device_EnumeratorName) |
---|
| 221 | A(PKEY_Device_Security) |
---|
| 222 | A(PKEY_Device_SecuritySDS) |
---|
| 223 | A(PKEY_Device_DevType) |
---|
| 224 | A(PKEY_Device_Exclusive) |
---|
| 225 | A(PKEY_Device_Characteristics) |
---|
| 226 | A(PKEY_Device_Address) |
---|
| 227 | A(PKEY_Device_UINumberDescFormat) |
---|
| 228 | A(PKEY_Device_PowerData) |
---|
| 229 | A(PKEY_Device_RemovalPolicy) |
---|
| 230 | A(PKEY_Device_RemovalPolicyDefault) |
---|
| 231 | A(PKEY_Device_RemovalPolicyOverride) |
---|
| 232 | A(PKEY_Device_InstallState) |
---|
| 233 | A(PKEY_Device_LocationPaths) |
---|
| 234 | A(PKEY_Device_BaseContainerId) |
---|
| 235 | A(PKEY_Device_DevNodeStatus) |
---|
| 236 | A(PKEY_Device_ProblemCode) |
---|
| 237 | A(PKEY_Device_EjectionRelations) |
---|
| 238 | A(PKEY_Device_RemovalRelations) |
---|
| 239 | A(PKEY_Device_PowerRelations) |
---|
| 240 | A(PKEY_Device_BusRelations) |
---|
| 241 | A(PKEY_Device_Parent) |
---|
| 242 | A(PKEY_Device_Children) |
---|
| 243 | A(PKEY_Device_Siblings) |
---|
| 244 | A(PKEY_Device_TransportRelations) |
---|
| 245 | A(PKEY_Device_Reported) |
---|
| 246 | A(PKEY_Device_Legacy) |
---|
| 247 | A(PKEY_Device_InstanceId) |
---|
| 248 | A(PKEY_Device_ContainerId) |
---|
| 249 | A(PKEY_Device_ModelId) |
---|
| 250 | A(PKEY_Device_FriendlyNameAttributes) |
---|
| 251 | A(PKEY_Device_ManufacturerAttributes) |
---|
| 252 | A(PKEY_Device_PresenceNotForDevice) |
---|
| 253 | A(PKEY_Numa_Proximity_Domain) |
---|
| 254 | A(PKEY_Device_DHP_Rebalance_Policy) |
---|
| 255 | A(PKEY_Device_Numa_Node) |
---|
| 256 | A(PKEY_Device_BusReportedDeviceDesc) |
---|
| 257 | A(PKEY_Device_InstallInProgress) |
---|
| 258 | A(PKEY_Device_DriverDate) |
---|
| 259 | A(PKEY_Device_DriverVersion) |
---|
| 260 | A(PKEY_Device_DriverDesc) |
---|
| 261 | A(PKEY_Device_DriverInfPath) |
---|
| 262 | A(PKEY_Device_DriverInfSection) |
---|
| 263 | A(PKEY_Device_DriverInfSectionExt) |
---|
| 264 | A(PKEY_Device_MatchingDeviceId) |
---|
| 265 | A(PKEY_Device_DriverProvider) |
---|
| 266 | A(PKEY_Device_DriverPropPageProvider) |
---|
| 267 | A(PKEY_Device_DriverCoInstallers) |
---|
| 268 | A(PKEY_Device_ResourcePickerTags) |
---|
| 269 | A(PKEY_Device_ResourcePickerExceptions) |
---|
| 270 | A(PKEY_Device_DriverRank) |
---|
| 271 | A(PKEY_Device_DriverLogoLevel) |
---|
| 272 | A(PKEY_Device_NoConnectSound) |
---|
| 273 | A(PKEY_Device_GenericDriverInstalled) |
---|
| 274 | A(PKEY_Device_AdditionalSoftwareRequested) |
---|
| 275 | A(PKEY_Device_SafeRemovalRequired) |
---|
| 276 | A(PKEY_Device_SafeRemovalRequiredOverride) |
---|
| 277 | A(PKEY_DrvPkg_Model) |
---|
| 278 | A(PKEY_DrvPkg_VendorWebSite) |
---|
| 279 | A(PKEY_DrvPkg_DetailedDescription) |
---|
| 280 | A(PKEY_DrvPkg_DocumentationLink) |
---|
| 281 | A(PKEY_DrvPkg_Icon) |
---|
| 282 | A(PKEY_DrvPkg_BrandingIcon) |
---|
| 283 | A(PKEY_DeviceClass_UpperFilters) |
---|
| 284 | A(PKEY_DeviceClass_LowerFilters) |
---|
| 285 | A(PKEY_DeviceClass_Security) |
---|
| 286 | A(PKEY_DeviceClass_SecuritySDS) |
---|
| 287 | A(PKEY_DeviceClass_DevType) |
---|
| 288 | A(PKEY_DeviceClass_Exclusive) |
---|
| 289 | A(PKEY_DeviceClass_Characteristics) |
---|
| 290 | A(PKEY_DeviceClass_Name) |
---|
| 291 | A(PKEY_DeviceClass_ClassName) |
---|
| 292 | A(PKEY_DeviceClass_Icon) |
---|
| 293 | A(PKEY_DeviceClass_ClassInstaller) |
---|
| 294 | A(PKEY_DeviceClass_PropPageProvider) |
---|
| 295 | A(PKEY_DeviceClass_NoInstallClass) |
---|
| 296 | A(PKEY_DeviceClass_NoDisplayClass) |
---|
| 297 | A(PKEY_DeviceClass_SilentInstall) |
---|
| 298 | A(PKEY_DeviceClass_NoUseClass) |
---|
| 299 | A(PKEY_DeviceClass_DefaultService) |
---|
| 300 | A(PKEY_DeviceClass_IconPath) |
---|
| 301 | A(PKEY_DeviceClass_ClassCoInstallers) |
---|
| 302 | A(PKEY_DeviceInterface_FriendlyName) |
---|
| 303 | A(PKEY_DeviceInterface_Enabled) |
---|
| 304 | A(PKEY_DeviceInterface_ClassGuid) |
---|
| 305 | A(PKEY_DeviceInterfaceClass_DefaultInterface) |
---|
| 306 | #pragma endregion |
---|
| 307 | #pragma region functiondiscoverykeys_devpkey.h |
---|
| 308 | A(PKEY_NAME) |
---|
| 309 | A(PKEY_Device_DeviceDesc) |
---|
| 310 | A(PKEY_Device_HardwareIds) |
---|
| 311 | A(PKEY_Device_CompatibleIds) |
---|
| 312 | A(PKEY_Device_Service) |
---|
| 313 | A(PKEY_Device_Class) |
---|
| 314 | A(PKEY_Device_ClassGuid) |
---|
| 315 | A(PKEY_Device_Driver) |
---|
| 316 | A(PKEY_Device_ConfigFlags) |
---|
| 317 | A(PKEY_Device_Manufacturer) |
---|
| 318 | A(PKEY_Device_FriendlyName) |
---|
| 319 | A(PKEY_Device_LocationInfo) |
---|
| 320 | A(PKEY_Device_PDOName) |
---|
| 321 | A(PKEY_Device_Capabilities) |
---|
| 322 | A(PKEY_Device_UINumber) |
---|
| 323 | A(PKEY_Device_UpperFilters) |
---|
| 324 | A(PKEY_Device_LowerFilters) |
---|
| 325 | A(PKEY_Device_BusTypeGuid) |
---|
| 326 | A(PKEY_Device_LegacyBusType) |
---|
| 327 | A(PKEY_Device_BusNumber) |
---|
| 328 | A(PKEY_Device_EnumeratorName) |
---|
| 329 | A(PKEY_Device_Security) |
---|
| 330 | A(PKEY_Device_SecuritySDS) |
---|
| 331 | A(PKEY_Device_DevType) |
---|
| 332 | A(PKEY_Device_Exclusive) |
---|
| 333 | A(PKEY_Device_Characteristics) |
---|
| 334 | A(PKEY_Device_Address) |
---|
| 335 | A(PKEY_Device_UINumberDescFormat) |
---|
| 336 | A(PKEY_Device_PowerData) |
---|
| 337 | A(PKEY_Device_RemovalPolicy) |
---|
| 338 | A(PKEY_Device_RemovalPolicyDefault) |
---|
| 339 | A(PKEY_Device_RemovalPolicyOverride) |
---|
| 340 | A(PKEY_Device_InstallState) |
---|
| 341 | A(PKEY_Device_LocationPaths) |
---|
| 342 | A(PKEY_Device_BaseContainerId) |
---|
| 343 | A(PKEY_Device_DevNodeStatus) |
---|
| 344 | A(PKEY_Device_ProblemCode) |
---|
| 345 | A(PKEY_Device_EjectionRelations) |
---|
| 346 | A(PKEY_Device_RemovalRelations) |
---|
| 347 | A(PKEY_Device_PowerRelations) |
---|
| 348 | A(PKEY_Device_BusRelations) |
---|
| 349 | A(PKEY_Device_Parent) |
---|
| 350 | A(PKEY_Device_Children) |
---|
| 351 | A(PKEY_Device_Siblings) |
---|
| 352 | A(PKEY_Device_TransportRelations) |
---|
| 353 | A(PKEY_Device_Reported) |
---|
| 354 | A(PKEY_Device_Legacy) |
---|
| 355 | A(PKEY_Device_InstanceId) |
---|
| 356 | A(PKEY_Device_ContainerId) |
---|
| 357 | A(PKEY_Device_ModelId) |
---|
| 358 | A(PKEY_Device_FriendlyNameAttributes) |
---|
| 359 | A(PKEY_Device_ManufacturerAttributes) |
---|
| 360 | A(PKEY_Device_PresenceNotForDevice) |
---|
| 361 | A(PKEY_Numa_Proximity_Domain) |
---|
| 362 | A(PKEY_Device_DHP_Rebalance_Policy) |
---|
| 363 | A(PKEY_Device_Numa_Node) |
---|
| 364 | A(PKEY_Device_BusReportedDeviceDesc) |
---|
| 365 | A(PKEY_Device_InstallInProgress) |
---|
| 366 | A(PKEY_Device_DriverDate) |
---|
| 367 | A(PKEY_Device_DriverVersion) |
---|
| 368 | A(PKEY_Device_DriverDesc) |
---|
| 369 | A(PKEY_Device_DriverInfPath) |
---|
| 370 | A(PKEY_Device_DriverInfSection) |
---|
| 371 | A(PKEY_Device_DriverInfSectionExt) |
---|
| 372 | A(PKEY_Device_MatchingDeviceId) |
---|
| 373 | A(PKEY_Device_DriverProvider) |
---|
| 374 | A(PKEY_Device_DriverPropPageProvider) |
---|
| 375 | A(PKEY_Device_DriverCoInstallers) |
---|
| 376 | A(PKEY_Device_ResourcePickerTags) |
---|
| 377 | A(PKEY_Device_ResourcePickerExceptions) |
---|
| 378 | A(PKEY_Device_DriverRank) |
---|
| 379 | A(PKEY_Device_DriverLogoLevel) |
---|
| 380 | A(PKEY_Device_NoConnectSound) |
---|
| 381 | A(PKEY_Device_GenericDriverInstalled) |
---|
| 382 | A(PKEY_Device_AdditionalSoftwareRequested) |
---|
| 383 | A(PKEY_Device_SafeRemovalRequired) |
---|
| 384 | A(PKEY_Device_SafeRemovalRequiredOverride) |
---|
| 385 | A(PKEY_DrvPkg_Model) |
---|
| 386 | A(PKEY_DrvPkg_VendorWebSite) |
---|
| 387 | A(PKEY_DrvPkg_DetailedDescription) |
---|
| 388 | A(PKEY_DrvPkg_DocumentationLink) |
---|
| 389 | A(PKEY_DrvPkg_Icon) |
---|
| 390 | A(PKEY_DrvPkg_BrandingIcon) |
---|
| 391 | A(PKEY_DeviceClass_UpperFilters) |
---|
| 392 | A(PKEY_DeviceClass_LowerFilters) |
---|
| 393 | A(PKEY_DeviceClass_Security) |
---|
| 394 | A(PKEY_DeviceClass_SecuritySDS) |
---|
| 395 | A(PKEY_DeviceClass_DevType) |
---|
| 396 | A(PKEY_DeviceClass_Exclusive) |
---|
| 397 | A(PKEY_DeviceClass_Characteristics) |
---|
| 398 | A(PKEY_DeviceClass_Name) |
---|
| 399 | A(PKEY_DeviceClass_ClassName) |
---|
| 400 | A(PKEY_DeviceClass_Icon) |
---|
| 401 | A(PKEY_DeviceClass_ClassInstaller) |
---|
| 402 | A(PKEY_DeviceClass_PropPageProvider) |
---|
| 403 | A(PKEY_DeviceClass_NoInstallClass) |
---|
| 404 | A(PKEY_DeviceClass_NoDisplayClass) |
---|
| 405 | A(PKEY_DeviceClass_SilentInstall) |
---|
| 406 | A(PKEY_DeviceClass_NoUseClass) |
---|
| 407 | A(PKEY_DeviceClass_DefaultService) |
---|
| 408 | A(PKEY_DeviceClass_IconPath) |
---|
| 409 | A(PKEY_DeviceClass_ClassCoInstallers) |
---|
| 410 | A(PKEY_DeviceInterface_FriendlyName) |
---|
| 411 | A(PKEY_DeviceInterface_Enabled) |
---|
| 412 | A(PKEY_DeviceInterface_ClassGuid) |
---|
| 413 | A(PKEY_DeviceInterfaceClass_DefaultInterface) |
---|
| 414 | #pragma endregion |
---|
| 415 | #pragma region mmdeviceapi.h |
---|
| 416 | A(PKEY_AudioEndpoint_FormFactor) |
---|
| 417 | A(PKEY_AudioEndpoint_ControlPanelPageProvider) |
---|
| 418 | A(PKEY_AudioEndpoint_Association) |
---|
| 419 | A(PKEY_AudioEndpoint_PhysicalSpeakers) |
---|
| 420 | A(PKEY_AudioEndpoint_GUID) |
---|
| 421 | A(PKEY_AudioEndpoint_Disable_SysFx) |
---|
| 422 | A(PKEY_AudioEndpoint_FullRangeSpeakers) |
---|
| 423 | A(PKEY_AudioEndpoint_Supports_EventDriven_Mode) |
---|
| 424 | A(PKEY_AudioEndpoint_JackSubType) |
---|
| 425 | A(PKEY_AudioEngine_DeviceFormat) |
---|
| 426 | A(PKEY_AudioEngine_OEMFormat) |
---|
| 427 | #pragma endregion |
---|
| 428 | #pragma region propkey.h |
---|
| 429 | A(PKEY_Audio_ChannelCount) |
---|
| 430 | A(PKEY_Audio_Compression) |
---|
| 431 | A(PKEY_Audio_EncodingBitrate) |
---|
| 432 | A(PKEY_Audio_Format) |
---|
| 433 | A(PKEY_Audio_IsVariableBitRate) |
---|
| 434 | A(PKEY_Audio_PeakValue) |
---|
| 435 | A(PKEY_Audio_SampleRate) |
---|
| 436 | A(PKEY_Audio_SampleSize) |
---|
| 437 | A(PKEY_Audio_StreamName) |
---|
| 438 | A(PKEY_Audio_StreamNumber) |
---|
| 439 | A(PKEY_Calendar_Duration) |
---|
| 440 | A(PKEY_Calendar_IsOnline) |
---|
| 441 | A(PKEY_Calendar_IsRecurring) |
---|
| 442 | A(PKEY_Calendar_Location) |
---|
| 443 | A(PKEY_Calendar_OptionalAttendeeAddresses) |
---|
| 444 | A(PKEY_Calendar_OptionalAttendeeNames) |
---|
| 445 | A(PKEY_Calendar_OrganizerAddress) |
---|
| 446 | A(PKEY_Calendar_OrganizerName) |
---|
| 447 | A(PKEY_Calendar_ReminderTime) |
---|
| 448 | A(PKEY_Calendar_RequiredAttendeeAddresses) |
---|
| 449 | A(PKEY_Calendar_RequiredAttendeeNames) |
---|
| 450 | A(PKEY_Calendar_Resources) |
---|
| 451 | A(PKEY_Calendar_ResponseStatus) |
---|
| 452 | A(PKEY_Calendar_ShowTimeAs) |
---|
| 453 | A(PKEY_Calendar_ShowTimeAsText) |
---|
| 454 | A(PKEY_Communication_AccountName) |
---|
| 455 | A(PKEY_Communication_DateItemExpires) |
---|
| 456 | A(PKEY_Communication_FollowupIconIndex) |
---|
| 457 | A(PKEY_Communication_HeaderItem) |
---|
| 458 | A(PKEY_Communication_PolicyTag) |
---|
| 459 | A(PKEY_Communication_SecurityFlags) |
---|
| 460 | A(PKEY_Communication_Suffix) |
---|
| 461 | A(PKEY_Communication_TaskStatus) |
---|
| 462 | A(PKEY_Communication_TaskStatusText) |
---|
| 463 | A(PKEY_Computer_DecoratedFreeSpace) |
---|
| 464 | A(PKEY_Contact_Anniversary) |
---|
| 465 | A(PKEY_Contact_AssistantName) |
---|
| 466 | A(PKEY_Contact_AssistantTelephone) |
---|
| 467 | A(PKEY_Contact_Birthday) |
---|
| 468 | A(PKEY_Contact_BusinessAddress) |
---|
| 469 | A(PKEY_Contact_BusinessAddressCity) |
---|
| 470 | A(PKEY_Contact_BusinessAddressCountry) |
---|
| 471 | A(PKEY_Contact_BusinessAddressPostalCode) |
---|
| 472 | A(PKEY_Contact_BusinessAddressPostOfficeBox) |
---|
| 473 | A(PKEY_Contact_BusinessAddressState) |
---|
| 474 | A(PKEY_Contact_BusinessAddressStreet) |
---|
| 475 | A(PKEY_Contact_BusinessFaxNumber) |
---|
| 476 | A(PKEY_Contact_BusinessHomePage) |
---|
| 477 | A(PKEY_Contact_BusinessTelephone) |
---|
| 478 | A(PKEY_Contact_CallbackTelephone) |
---|
| 479 | A(PKEY_Contact_CarTelephone) |
---|
| 480 | A(PKEY_Contact_Children) |
---|
| 481 | A(PKEY_Contact_CompanyMainTelephone) |
---|
| 482 | A(PKEY_Contact_Department) |
---|
| 483 | A(PKEY_Contact_EmailAddress) |
---|
| 484 | A(PKEY_Contact_EmailAddress2) |
---|
| 485 | A(PKEY_Contact_EmailAddress3) |
---|
| 486 | A(PKEY_Contact_EmailAddresses) |
---|
| 487 | A(PKEY_Contact_EmailName) |
---|
| 488 | A(PKEY_Contact_FileAsName) |
---|
| 489 | A(PKEY_Contact_FirstName) |
---|
| 490 | A(PKEY_Contact_FullName) |
---|
| 491 | A(PKEY_Contact_Gender) |
---|
| 492 | A(PKEY_Contact_GenderValue) |
---|
| 493 | A(PKEY_Contact_Hobbies) |
---|
| 494 | A(PKEY_Contact_HomeAddress) |
---|
| 495 | A(PKEY_Contact_HomeAddressCity) |
---|
| 496 | A(PKEY_Contact_HomeAddressCountry) |
---|
| 497 | A(PKEY_Contact_HomeAddressPostalCode) |
---|
| 498 | A(PKEY_Contact_HomeAddressPostOfficeBox) |
---|
| 499 | A(PKEY_Contact_HomeAddressState) |
---|
| 500 | A(PKEY_Contact_HomeAddressStreet) |
---|
| 501 | A(PKEY_Contact_HomeFaxNumber) |
---|
| 502 | A(PKEY_Contact_HomeTelephone) |
---|
| 503 | A(PKEY_Contact_IMAddress) |
---|
| 504 | A(PKEY_Contact_Initials) |
---|
| 505 | A(PKEY_Contact_JA_CompanyNamePhonetic) |
---|
| 506 | A(PKEY_Contact_JA_FirstNamePhonetic) |
---|
| 507 | A(PKEY_Contact_JA_LastNamePhonetic) |
---|
| 508 | A(PKEY_Contact_JobTitle) |
---|
| 509 | A(PKEY_Contact_Label) |
---|
| 510 | A(PKEY_Contact_LastName) |
---|
| 511 | A(PKEY_Contact_MailingAddress) |
---|
| 512 | A(PKEY_Contact_MiddleName) |
---|
| 513 | A(PKEY_Contact_MobileTelephone) |
---|
| 514 | A(PKEY_Contact_NickName) |
---|
| 515 | A(PKEY_Contact_OfficeLocation) |
---|
| 516 | A(PKEY_Contact_OtherAddress) |
---|
| 517 | A(PKEY_Contact_OtherAddressCity) |
---|
| 518 | A(PKEY_Contact_OtherAddressCountry) |
---|
| 519 | A(PKEY_Contact_OtherAddressPostalCode) |
---|
| 520 | A(PKEY_Contact_OtherAddressPostOfficeBox) |
---|
| 521 | A(PKEY_Contact_OtherAddressState) |
---|
| 522 | A(PKEY_Contact_OtherAddressStreet) |
---|
| 523 | A(PKEY_Contact_PagerTelephone) |
---|
| 524 | A(PKEY_Contact_PersonalTitle) |
---|
| 525 | A(PKEY_Contact_PrimaryAddressCity) |
---|
| 526 | A(PKEY_Contact_PrimaryAddressCountry) |
---|
| 527 | A(PKEY_Contact_PrimaryAddressPostalCode) |
---|
| 528 | A(PKEY_Contact_PrimaryAddressPostOfficeBox) |
---|
| 529 | A(PKEY_Contact_PrimaryAddressState) |
---|
| 530 | A(PKEY_Contact_PrimaryAddressStreet) |
---|
| 531 | A(PKEY_Contact_PrimaryEmailAddress) |
---|
| 532 | A(PKEY_Contact_PrimaryTelephone) |
---|
| 533 | A(PKEY_Contact_Profession) |
---|
| 534 | A(PKEY_Contact_SpouseName) |
---|
| 535 | A(PKEY_Contact_Suffix) |
---|
| 536 | A(PKEY_Contact_TelexNumber) |
---|
| 537 | A(PKEY_Contact_TTYTDDTelephone) |
---|
| 538 | A(PKEY_Contact_WebPage) |
---|
| 539 | A(PKEY_AcquisitionID) |
---|
| 540 | A(PKEY_ApplicationName) |
---|
| 541 | A(PKEY_Author) |
---|
| 542 | A(PKEY_Capacity) |
---|
| 543 | A(PKEY_Category) |
---|
| 544 | A(PKEY_Comment) |
---|
| 545 | A(PKEY_Company) |
---|
| 546 | A(PKEY_ComputerName) |
---|
| 547 | A(PKEY_ContainedItems) |
---|
| 548 | A(PKEY_ContentStatus) |
---|
| 549 | A(PKEY_ContentType) |
---|
| 550 | A(PKEY_Copyright) |
---|
| 551 | A(PKEY_DateAccessed) |
---|
| 552 | A(PKEY_DateAcquired) |
---|
| 553 | A(PKEY_DateArchived) |
---|
| 554 | A(PKEY_DateCompleted) |
---|
| 555 | A(PKEY_DateCreated) |
---|
| 556 | A(PKEY_DateImported) |
---|
| 557 | A(PKEY_DateModified) |
---|
| 558 | A(PKEY_DueDate) |
---|
| 559 | A(PKEY_EndDate) |
---|
| 560 | A(PKEY_FileAllocationSize) |
---|
| 561 | A(PKEY_FileAttributes) |
---|
| 562 | A(PKEY_FileCount) |
---|
| 563 | A(PKEY_FileDescription) |
---|
| 564 | A(PKEY_FileExtension) |
---|
| 565 | A(PKEY_FileFRN) |
---|
| 566 | A(PKEY_FileName) |
---|
| 567 | A(PKEY_FileOwner) |
---|
| 568 | A(PKEY_FileVersion) |
---|
| 569 | A(PKEY_FindData) |
---|
| 570 | A(PKEY_FlagColor) |
---|
| 571 | A(PKEY_FlagColorText) |
---|
| 572 | A(PKEY_FlagStatus) |
---|
| 573 | A(PKEY_FlagStatusText) |
---|
| 574 | A(PKEY_FreeSpace) |
---|
| 575 | A(PKEY_FullText) |
---|
| 576 | A(PKEY_Identity) |
---|
| 577 | A(PKEY_Identity_Blob) |
---|
| 578 | A(PKEY_Identity_DisplayName) |
---|
| 579 | A(PKEY_Identity_IsMeIdentity) |
---|
| 580 | A(PKEY_Identity_PrimaryEmailAddress) |
---|
| 581 | A(PKEY_Identity_ProviderID) |
---|
| 582 | A(PKEY_Identity_UniqueID) |
---|
| 583 | A(PKEY_Identity_UserName) |
---|
| 584 | A(PKEY_IdentityProvider_Name) |
---|
| 585 | A(PKEY_IdentityProvider_Picture) |
---|
| 586 | A(PKEY_ImageParsingName) |
---|
| 587 | A(PKEY_Importance) |
---|
| 588 | A(PKEY_ImportanceText) |
---|
| 589 | A(PKEY_IsAttachment) |
---|
| 590 | A(PKEY_IsDefaultNonOwnerSaveLocation) |
---|
| 591 | A(PKEY_IsDefaultSaveLocation) |
---|
| 592 | A(PKEY_IsDeleted) |
---|
| 593 | A(PKEY_IsEncrypted) |
---|
| 594 | A(PKEY_IsFlagged) |
---|
| 595 | A(PKEY_IsFlaggedComplete) |
---|
| 596 | A(PKEY_IsIncomplete) |
---|
| 597 | A(PKEY_IsLocationSupported) |
---|
| 598 | A(PKEY_IsPinnedToNameSpaceTree) |
---|
| 599 | A(PKEY_IsRead) |
---|
| 600 | A(PKEY_IsSearchOnlyItem) |
---|
| 601 | A(PKEY_IsSendToTarget) |
---|
| 602 | A(PKEY_IsShared) |
---|
| 603 | A(PKEY_ItemAuthors) |
---|
| 604 | A(PKEY_ItemClassType) |
---|
| 605 | A(PKEY_ItemDate) |
---|
| 606 | A(PKEY_ItemFolderNameDisplay) |
---|
| 607 | A(PKEY_ItemFolderPathDisplay) |
---|
| 608 | A(PKEY_ItemFolderPathDisplayNarrow) |
---|
| 609 | A(PKEY_ItemName) |
---|
| 610 | A(PKEY_ItemNameDisplay) |
---|
| 611 | A(PKEY_ItemNamePrefix) |
---|
| 612 | A(PKEY_ItemParticipants) |
---|
| 613 | A(PKEY_ItemPathDisplay) |
---|
| 614 | A(PKEY_ItemPathDisplayNarrow) |
---|
| 615 | A(PKEY_ItemType) |
---|
| 616 | A(PKEY_ItemTypeText) |
---|
| 617 | A(PKEY_ItemUrl) |
---|
| 618 | A(PKEY_Keywords) |
---|
| 619 | A(PKEY_Kind) |
---|
| 620 | A(PKEY_KindText) |
---|
| 621 | A(PKEY_Language) |
---|
| 622 | A(PKEY_MileageInformation) |
---|
| 623 | A(PKEY_MIMEType) |
---|
| 624 | A(PKEY_Null) |
---|
| 625 | A(PKEY_OfflineAvailability) |
---|
| 626 | A(PKEY_OfflineStatus) |
---|
| 627 | A(PKEY_OriginalFileName) |
---|
| 628 | A(PKEY_OwnerSID) |
---|
| 629 | A(PKEY_ParentalRating) |
---|
| 630 | A(PKEY_ParentalRatingReason) |
---|
| 631 | A(PKEY_ParentalRatingsOrganization) |
---|
| 632 | A(PKEY_ParsingBindContext) |
---|
| 633 | A(PKEY_ParsingName) |
---|
| 634 | A(PKEY_ParsingPath) |
---|
| 635 | A(PKEY_PerceivedType) |
---|
| 636 | A(PKEY_PercentFull) |
---|
| 637 | A(PKEY_Priority) |
---|
| 638 | A(PKEY_PriorityText) |
---|
| 639 | A(PKEY_Project) |
---|
| 640 | A(PKEY_ProviderItemID) |
---|
| 641 | A(PKEY_Rating) |
---|
| 642 | A(PKEY_RatingText) |
---|
| 643 | A(PKEY_Sensitivity) |
---|
| 644 | A(PKEY_SensitivityText) |
---|
| 645 | A(PKEY_SFGAOFlags) |
---|
| 646 | A(PKEY_SharedWith) |
---|
| 647 | A(PKEY_ShareUserRating) |
---|
| 648 | A(PKEY_SharingStatus) |
---|
| 649 | A(PKEY_Shell_OmitFromView) |
---|
| 650 | A(PKEY_SimpleRating) |
---|
| 651 | A(PKEY_Size) |
---|
| 652 | A(PKEY_SoftwareUsed) |
---|
| 653 | A(PKEY_SourceItem) |
---|
| 654 | A(PKEY_StartDate) |
---|
| 655 | A(PKEY_Status) |
---|
| 656 | A(PKEY_Subject) |
---|
| 657 | A(PKEY_Thumbnail) |
---|
| 658 | A(PKEY_ThumbnailCacheId) |
---|
| 659 | A(PKEY_ThumbnailStream) |
---|
| 660 | A(PKEY_Title) |
---|
| 661 | A(PKEY_TotalFileSize) |
---|
| 662 | A(PKEY_Trademarks) |
---|
| 663 | A(PKEY_Device_PrinterURL) |
---|
| 664 | A(PKEY_DeviceInterface_PrinterDriverDirectory) |
---|
| 665 | A(PKEY_DeviceInterface_PrinterDriverName) |
---|
| 666 | A(PKEY_DeviceInterface_PrinterName) |
---|
| 667 | A(PKEY_DeviceInterface_PrinterPortName) |
---|
| 668 | A(PKEY_Devices_BatteryLife) |
---|
| 669 | A(PKEY_Devices_BatteryPlusCharging) |
---|
| 670 | A(PKEY_Devices_BatteryPlusChargingText) |
---|
| 671 | A(PKEY_Devices_Category_Desc_Singular) |
---|
| 672 | A(PKEY_Devices_CategoryGroup_Desc) |
---|
| 673 | A(PKEY_Devices_Category_Desc_Plural) |
---|
| 674 | A(PKEY_Devices_ChargingState) |
---|
| 675 | A(PKEY_Devices_IsConnected) |
---|
| 676 | A(PKEY_Devices_ContainerId) |
---|
| 677 | A(PKEY_Devices_DefaultTooltip) |
---|
| 678 | A(PKEY_Devices_DeviceDescription1) |
---|
| 679 | A(PKEY_Devices_DeviceDescription2) |
---|
| 680 | A(PKEY_Devices_DiscoveryMethod) |
---|
| 681 | A(PKEY_Devices_FriendlyName) |
---|
| 682 | A(PKEY_Devices_FunctionPaths) |
---|
| 683 | A(PKEY_Devices_InterfacePaths) |
---|
| 684 | A(PKEY_Devices_IsDefaultDevice) |
---|
| 685 | A(PKEY_Devices_IsNetworkDevice) |
---|
| 686 | A(PKEY_Devices_IsSharedDevice) |
---|
| 687 | A(PKEY_Devices_IsSoftwareInstalling) |
---|
| 688 | A(PKEY_Devices_LaunchDeviceStageFromExplorer) |
---|
| 689 | A(PKEY_Devices_IsLocalMachine) |
---|
| 690 | A(PKEY_Devices_Manufacturer) |
---|
| 691 | A(PKEY_Devices_MissedCalls) |
---|
| 692 | A(PKEY_Devices_ModelName) |
---|
| 693 | A(PKEY_Devices_ModelNumber) |
---|
| 694 | A(PKEY_Devices_NetworkedTooltip) |
---|
| 695 | A(PKEY_Devices_NetworkName) |
---|
| 696 | A(PKEY_Devices_NetworkType) |
---|
| 697 | A(PKEY_Devices_NewPictures) |
---|
| 698 | A(PKEY_Devices_Notification) |
---|
| 699 | A(PKEY_Devices_Notification_LowBattery) |
---|
| 700 | A(PKEY_Devices_Notification_MissedCall) |
---|
| 701 | A(PKEY_Devices_Notification_NewMessage) |
---|
| 702 | A(PKEY_Devices_Notification_NewVoicemail) |
---|
| 703 | A(PKEY_Devices_Notification_StorageFull) |
---|
| 704 | A(PKEY_Devices_Notification_StorageFullLinkText) |
---|
| 705 | A(PKEY_Devices_NotificationStore) |
---|
| 706 | A(PKEY_Devices_IsNotWorkingProperly) |
---|
| 707 | A(PKEY_Devices_IsPaired) |
---|
| 708 | A(PKEY_Devices_PrimaryCategory) |
---|
| 709 | A(PKEY_Devices_Roaming) |
---|
| 710 | A(PKEY_Devices_SafeRemovalRequired) |
---|
| 711 | A(PKEY_Devices_SharedTooltip) |
---|
| 712 | A(PKEY_Devices_SignalStrength) |
---|
| 713 | A(PKEY_Devices_Status1) |
---|
| 714 | A(PKEY_Devices_Status2) |
---|
| 715 | A(PKEY_Devices_StorageCapacity) |
---|
| 716 | A(PKEY_Devices_StorageFreeSpace) |
---|
| 717 | A(PKEY_Devices_StorageFreeSpacePercent) |
---|
| 718 | A(PKEY_Devices_TextMessages) |
---|
| 719 | A(PKEY_Devices_Voicemail) |
---|
| 720 | A(PKEY_Document_ByteCount) |
---|
| 721 | A(PKEY_Document_CharacterCount) |
---|
| 722 | A(PKEY_Document_ClientID) |
---|
| 723 | A(PKEY_Document_Contributor) |
---|
| 724 | A(PKEY_Document_DateCreated) |
---|
| 725 | A(PKEY_Document_DatePrinted) |
---|
| 726 | A(PKEY_Document_DateSaved) |
---|
| 727 | A(PKEY_Document_Division) |
---|
| 728 | A(PKEY_Document_DocumentID) |
---|
| 729 | A(PKEY_Document_HiddenSlideCount) |
---|
| 730 | A(PKEY_Document_LastAuthor) |
---|
| 731 | A(PKEY_Document_LineCount) |
---|
| 732 | A(PKEY_Document_Manager) |
---|
| 733 | A(PKEY_Document_MultimediaClipCount) |
---|
| 734 | A(PKEY_Document_NoteCount) |
---|
| 735 | A(PKEY_Document_PageCount) |
---|
| 736 | A(PKEY_Document_ParagraphCount) |
---|
| 737 | A(PKEY_Document_PresentationFormat) |
---|
| 738 | A(PKEY_Document_RevisionNumber) |
---|
| 739 | A(PKEY_Document_Security) |
---|
| 740 | A(PKEY_Document_SlideCount) |
---|
| 741 | A(PKEY_Document_Template) |
---|
| 742 | A(PKEY_Document_TotalEditingTime) |
---|
| 743 | A(PKEY_Document_Version) |
---|
| 744 | A(PKEY_Document_WordCount) |
---|
| 745 | A(PKEY_DRM_DatePlayExpires) |
---|
| 746 | A(PKEY_DRM_DatePlayStarts) |
---|
| 747 | A(PKEY_DRM_Description) |
---|
| 748 | A(PKEY_DRM_IsProtected) |
---|
| 749 | A(PKEY_DRM_PlayCount) |
---|
| 750 | A(PKEY_GPS_Altitude) |
---|
| 751 | A(PKEY_GPS_AltitudeDenominator) |
---|
| 752 | A(PKEY_GPS_AltitudeNumerator) |
---|
| 753 | A(PKEY_GPS_AltitudeRef) |
---|
| 754 | A(PKEY_GPS_AreaInformation) |
---|
| 755 | A(PKEY_GPS_Date) |
---|
| 756 | A(PKEY_GPS_DestBearing) |
---|
| 757 | A(PKEY_GPS_DestBearingDenominator) |
---|
| 758 | A(PKEY_GPS_DestBearingNumerator) |
---|
| 759 | A(PKEY_GPS_DestBearingRef) |
---|
| 760 | A(PKEY_GPS_DestDistance) |
---|
| 761 | A(PKEY_GPS_DestDistanceDenominator) |
---|
| 762 | A(PKEY_GPS_DestDistanceNumerator) |
---|
| 763 | A(PKEY_GPS_DestDistanceRef) |
---|
| 764 | A(PKEY_GPS_DestLatitude) |
---|
| 765 | A(PKEY_GPS_DestLatitudeDenominator) |
---|
| 766 | A(PKEY_GPS_DestLatitudeNumerator) |
---|
| 767 | A(PKEY_GPS_DestLatitudeRef) |
---|
| 768 | A(PKEY_GPS_DestLongitude) |
---|
| 769 | A(PKEY_GPS_DestLongitudeDenominator) |
---|
| 770 | A(PKEY_GPS_DestLongitudeNumerator) |
---|
| 771 | A(PKEY_GPS_DestLongitudeRef) |
---|
| 772 | A(PKEY_GPS_Differential) |
---|
| 773 | A(PKEY_GPS_DOP) |
---|
| 774 | A(PKEY_GPS_DOPDenominator) |
---|
| 775 | A(PKEY_GPS_DOPNumerator) |
---|
| 776 | A(PKEY_GPS_ImgDirection) |
---|
| 777 | A(PKEY_GPS_ImgDirectionDenominator) |
---|
| 778 | A(PKEY_GPS_ImgDirectionNumerator) |
---|
| 779 | A(PKEY_GPS_ImgDirectionRef) |
---|
| 780 | A(PKEY_GPS_Latitude) |
---|
| 781 | A(PKEY_GPS_LatitudeDenominator) |
---|
| 782 | A(PKEY_GPS_LatitudeNumerator) |
---|
| 783 | A(PKEY_GPS_LatitudeRef) |
---|
| 784 | A(PKEY_GPS_Longitude) |
---|
| 785 | A(PKEY_GPS_LongitudeDenominator) |
---|
| 786 | A(PKEY_GPS_LongitudeNumerator) |
---|
| 787 | A(PKEY_GPS_LongitudeRef) |
---|
| 788 | A(PKEY_GPS_MapDatum) |
---|
| 789 | A(PKEY_GPS_MeasureMode) |
---|
| 790 | A(PKEY_GPS_ProcessingMethod) |
---|
| 791 | A(PKEY_GPS_Satellites) |
---|
| 792 | A(PKEY_GPS_Speed) |
---|
| 793 | A(PKEY_GPS_SpeedDenominator) |
---|
| 794 | A(PKEY_GPS_SpeedNumerator) |
---|
| 795 | A(PKEY_GPS_SpeedRef) |
---|
| 796 | A(PKEY_GPS_Status) |
---|
| 797 | A(PKEY_GPS_Track) |
---|
| 798 | A(PKEY_GPS_TrackDenominator) |
---|
| 799 | A(PKEY_GPS_TrackNumerator) |
---|
| 800 | A(PKEY_GPS_TrackRef) |
---|
| 801 | A(PKEY_GPS_VersionID) |
---|
| 802 | A(PKEY_Image_BitDepth) |
---|
| 803 | A(PKEY_Image_ColorSpace) |
---|
| 804 | A(PKEY_Image_CompressedBitsPerPixel) |
---|
| 805 | A(PKEY_Image_CompressedBitsPerPixelDenominator) |
---|
| 806 | A(PKEY_Image_CompressedBitsPerPixelNumerator) |
---|
| 807 | A(PKEY_Image_Compression) |
---|
| 808 | A(PKEY_Image_CompressionText) |
---|
| 809 | A(PKEY_Image_Dimensions) |
---|
| 810 | A(PKEY_Image_HorizontalResolution) |
---|
| 811 | A(PKEY_Image_HorizontalSize) |
---|
| 812 | A(PKEY_Image_ImageID) |
---|
| 813 | A(PKEY_Image_ResolutionUnit) |
---|
| 814 | A(PKEY_Image_VerticalResolution) |
---|
| 815 | A(PKEY_Image_VerticalSize) |
---|
| 816 | A(PKEY_Journal_Contacts) |
---|
| 817 | A(PKEY_Journal_EntryType) |
---|
| 818 | A(PKEY_LayoutPattern_ContentViewModeForBrowse) |
---|
| 819 | A(PKEY_LayoutPattern_ContentViewModeForSearch) |
---|
| 820 | A(PKEY_Link_Arguments) |
---|
| 821 | A(PKEY_Link_Comment) |
---|
| 822 | A(PKEY_Link_DateVisited) |
---|
| 823 | A(PKEY_Link_Description) |
---|
| 824 | A(PKEY_Link_Status) |
---|
| 825 | A(PKEY_Link_TargetExtension) |
---|
| 826 | A(PKEY_Link_TargetParsingPath) |
---|
| 827 | A(PKEY_Link_TargetSFGAOFlags) |
---|
| 828 | A(PKEY_Media_AuthorUrl) |
---|
| 829 | A(PKEY_Media_AverageLevel) |
---|
| 830 | A(PKEY_Media_ClassPrimaryID) |
---|
| 831 | A(PKEY_Media_ClassSecondaryID) |
---|
| 832 | A(PKEY_Media_CollectionGroupID) |
---|
| 833 | A(PKEY_Media_CollectionID) |
---|
| 834 | A(PKEY_Media_ContentDistributor) |
---|
| 835 | A(PKEY_Media_ContentID) |
---|
| 836 | A(PKEY_Media_CreatorApplication) |
---|
| 837 | A(PKEY_Media_CreatorApplicationVersion) |
---|
| 838 | A(PKEY_Media_DateEncoded) |
---|
| 839 | A(PKEY_Media_DateReleased) |
---|
| 840 | A(PKEY_Media_Duration) |
---|
| 841 | A(PKEY_Media_DVDID) |
---|
| 842 | A(PKEY_Media_EncodedBy) |
---|
| 843 | A(PKEY_Media_EncodingSettings) |
---|
| 844 | A(PKEY_Media_FrameCount) |
---|
| 845 | A(PKEY_Media_MCDI) |
---|
| 846 | A(PKEY_Media_MetadataContentProvider) |
---|
| 847 | A(PKEY_Media_Producer) |
---|
| 848 | A(PKEY_Media_PromotionUrl) |
---|
| 849 | A(PKEY_Media_ProtectionType) |
---|
| 850 | A(PKEY_Media_ProviderRating) |
---|
| 851 | A(PKEY_Media_ProviderStyle) |
---|
| 852 | A(PKEY_Media_Publisher) |
---|
| 853 | A(PKEY_Media_SubscriptionContentId) |
---|
| 854 | A(PKEY_Media_SubTitle) |
---|
| 855 | A(PKEY_Media_UniqueFileIdentifier) |
---|
| 856 | A(PKEY_Media_UserNoAutoInfo) |
---|
| 857 | A(PKEY_Media_UserWebUrl) |
---|
| 858 | A(PKEY_Media_Writer) |
---|
| 859 | A(PKEY_Media_Year) |
---|
| 860 | A(PKEY_Message_AttachmentContents) |
---|
| 861 | A(PKEY_Message_AttachmentNames) |
---|
| 862 | A(PKEY_Message_BccAddress) |
---|
| 863 | A(PKEY_Message_BccName) |
---|
| 864 | A(PKEY_Message_CcAddress) |
---|
| 865 | A(PKEY_Message_CcName) |
---|
| 866 | A(PKEY_Message_ConversationID) |
---|
| 867 | A(PKEY_Message_ConversationIndex) |
---|
| 868 | A(PKEY_Message_DateReceived) |
---|
| 869 | A(PKEY_Message_DateSent) |
---|
| 870 | A(PKEY_Message_Flags) |
---|
| 871 | A(PKEY_Message_FromAddress) |
---|
| 872 | A(PKEY_Message_FromName) |
---|
| 873 | A(PKEY_Message_HasAttachments) |
---|
| 874 | A(PKEY_Message_IsFwdOrReply) |
---|
| 875 | A(PKEY_Message_MessageClass) |
---|
| 876 | A(PKEY_Message_ProofInProgress) |
---|
| 877 | A(PKEY_Message_SenderAddress) |
---|
| 878 | A(PKEY_Message_SenderName) |
---|
| 879 | A(PKEY_Message_Store) |
---|
| 880 | A(PKEY_Message_ToAddress) |
---|
| 881 | A(PKEY_Message_ToDoFlags) |
---|
| 882 | A(PKEY_Message_ToDoTitle) |
---|
| 883 | A(PKEY_Message_ToName) |
---|
| 884 | A(PKEY_Music_AlbumArtist) |
---|
| 885 | A(PKEY_Music_AlbumID) |
---|
| 886 | A(PKEY_Music_AlbumTitle) |
---|
| 887 | A(PKEY_Music_Artist) |
---|
| 888 | A(PKEY_Music_BeatsPerMinute) |
---|
| 889 | A(PKEY_Music_Composer) |
---|
| 890 | A(PKEY_Music_Conductor) |
---|
| 891 | A(PKEY_Music_ContentGroupDescription) |
---|
| 892 | A(PKEY_Music_DisplayArtist) |
---|
| 893 | A(PKEY_Music_Genre) |
---|
| 894 | A(PKEY_Music_InitialKey) |
---|
| 895 | A(PKEY_Music_IsCompilation) |
---|
| 896 | A(PKEY_Music_Lyrics) |
---|
| 897 | A(PKEY_Music_Mood) |
---|
| 898 | A(PKEY_Music_PartOfSet) |
---|
| 899 | A(PKEY_Music_Period) |
---|
| 900 | A(PKEY_Music_SynchronizedLyrics) |
---|
| 901 | A(PKEY_Music_TrackNumber) |
---|
| 902 | A(PKEY_Note_Color) |
---|
| 903 | A(PKEY_Note_ColorText) |
---|
| 904 | A(PKEY_Photo_Aperture) |
---|
| 905 | A(PKEY_Photo_ApertureDenominator) |
---|
| 906 | A(PKEY_Photo_ApertureNumerator) |
---|
| 907 | A(PKEY_Photo_Brightness) |
---|
| 908 | A(PKEY_Photo_BrightnessDenominator) |
---|
| 909 | A(PKEY_Photo_BrightnessNumerator) |
---|
| 910 | A(PKEY_Photo_CameraManufacturer) |
---|
| 911 | A(PKEY_Photo_CameraModel) |
---|
| 912 | A(PKEY_Photo_CameraSerialNumber) |
---|
| 913 | A(PKEY_Photo_Contrast) |
---|
| 914 | A(PKEY_Photo_ContrastText) |
---|
| 915 | A(PKEY_Photo_DateTaken) |
---|
| 916 | A(PKEY_Photo_DigitalZoom) |
---|
| 917 | A(PKEY_Photo_DigitalZoomDenominator) |
---|
| 918 | A(PKEY_Photo_DigitalZoomNumerator) |
---|
| 919 | A(PKEY_Photo_Event) |
---|
| 920 | A(PKEY_Photo_EXIFVersion) |
---|
| 921 | A(PKEY_Photo_ExposureBias) |
---|
| 922 | A(PKEY_Photo_ExposureBiasDenominator) |
---|
| 923 | A(PKEY_Photo_ExposureBiasNumerator) |
---|
| 924 | A(PKEY_Photo_ExposureIndex) |
---|
| 925 | A(PKEY_Photo_ExposureIndexDenominator) |
---|
| 926 | A(PKEY_Photo_ExposureIndexNumerator) |
---|
| 927 | A(PKEY_Photo_ExposureProgram) |
---|
| 928 | A(PKEY_Photo_ExposureProgramText) |
---|
| 929 | A(PKEY_Photo_ExposureTime) |
---|
| 930 | A(PKEY_Photo_ExposureTimeDenominator) |
---|
| 931 | A(PKEY_Photo_ExposureTimeNumerator) |
---|
| 932 | A(PKEY_Photo_Flash) |
---|
| 933 | A(PKEY_Photo_FlashEnergy) |
---|
| 934 | A(PKEY_Photo_FlashEnergyDenominator) |
---|
| 935 | A(PKEY_Photo_FlashEnergyNumerator) |
---|
| 936 | A(PKEY_Photo_FlashManufacturer) |
---|
| 937 | A(PKEY_Photo_FlashModel) |
---|
| 938 | A(PKEY_Photo_FlashText) |
---|
| 939 | A(PKEY_Photo_FNumber) |
---|
| 940 | A(PKEY_Photo_FNumberDenominator) |
---|
| 941 | A(PKEY_Photo_FNumberNumerator) |
---|
| 942 | A(PKEY_Photo_FocalLength) |
---|
| 943 | A(PKEY_Photo_FocalLengthDenominator) |
---|
| 944 | A(PKEY_Photo_FocalLengthInFilm) |
---|
| 945 | A(PKEY_Photo_FocalLengthNumerator) |
---|
| 946 | A(PKEY_Photo_FocalPlaneXResolution) |
---|
| 947 | A(PKEY_Photo_FocalPlaneXResolutionDenominator) |
---|
| 948 | A(PKEY_Photo_FocalPlaneXResolutionNumerator) |
---|
| 949 | A(PKEY_Photo_FocalPlaneYResolution) |
---|
| 950 | A(PKEY_Photo_FocalPlaneYResolutionDenominator) |
---|
| 951 | A(PKEY_Photo_FocalPlaneYResolutionNumerator) |
---|
| 952 | A(PKEY_Photo_GainControl) |
---|
| 953 | A(PKEY_Photo_GainControlDenominator) |
---|
| 954 | A(PKEY_Photo_GainControlNumerator) |
---|
| 955 | A(PKEY_Photo_GainControlText) |
---|
| 956 | A(PKEY_Photo_ISOSpeed) |
---|
| 957 | A(PKEY_Photo_LensManufacturer) |
---|
| 958 | A(PKEY_Photo_LensModel) |
---|
| 959 | A(PKEY_Photo_LightSource) |
---|
| 960 | A(PKEY_Photo_MakerNote) |
---|
| 961 | A(PKEY_Photo_MakerNoteOffset) |
---|
| 962 | A(PKEY_Photo_MaxAperture) |
---|
| 963 | A(PKEY_Photo_MaxApertureDenominator) |
---|
| 964 | A(PKEY_Photo_MaxApertureNumerator) |
---|
| 965 | A(PKEY_Photo_MeteringMode) |
---|
| 966 | A(PKEY_Photo_MeteringModeText) |
---|
| 967 | A(PKEY_Photo_Orientation) |
---|
| 968 | A(PKEY_Photo_OrientationText) |
---|
| 969 | A(PKEY_Photo_PeopleNames) |
---|
| 970 | A(PKEY_Photo_PhotometricInterpretation) |
---|
| 971 | A(PKEY_Photo_PhotometricInterpretationText) |
---|
| 972 | A(PKEY_Photo_ProgramMode) |
---|
| 973 | A(PKEY_Photo_ProgramModeText) |
---|
| 974 | A(PKEY_Photo_RelatedSoundFile) |
---|
| 975 | A(PKEY_Photo_Saturation) |
---|
| 976 | A(PKEY_Photo_SaturationText) |
---|
| 977 | A(PKEY_Photo_Sharpness) |
---|
| 978 | A(PKEY_Photo_SharpnessText) |
---|
| 979 | A(PKEY_Photo_ShutterSpeed) |
---|
| 980 | A(PKEY_Photo_ShutterSpeedDenominator) |
---|
| 981 | A(PKEY_Photo_ShutterSpeedNumerator) |
---|
| 982 | A(PKEY_Photo_SubjectDistance) |
---|
| 983 | A(PKEY_Photo_SubjectDistanceDenominator) |
---|
| 984 | A(PKEY_Photo_SubjectDistanceNumerator) |
---|
| 985 | A(PKEY_Photo_TagViewAggregate) |
---|
| 986 | A(PKEY_Photo_TranscodedForSync) |
---|
| 987 | A(PKEY_Photo_WhiteBalance) |
---|
| 988 | A(PKEY_Photo_WhiteBalanceText) |
---|
| 989 | A(PKEY_PropGroup_Advanced) |
---|
| 990 | A(PKEY_PropGroup_Audio) |
---|
| 991 | A(PKEY_PropGroup_Calendar) |
---|
| 992 | A(PKEY_PropGroup_Camera) |
---|
| 993 | A(PKEY_PropGroup_Contact) |
---|
| 994 | A(PKEY_PropGroup_Content) |
---|
| 995 | A(PKEY_PropGroup_Description) |
---|
| 996 | A(PKEY_PropGroup_FileSystem) |
---|
| 997 | A(PKEY_PropGroup_General) |
---|
| 998 | A(PKEY_PropGroup_GPS) |
---|
| 999 | A(PKEY_PropGroup_Image) |
---|
| 1000 | A(PKEY_PropGroup_Media) |
---|
| 1001 | A(PKEY_PropGroup_MediaAdvanced) |
---|
| 1002 | A(PKEY_PropGroup_Message) |
---|
| 1003 | A(PKEY_PropGroup_Music) |
---|
| 1004 | A(PKEY_PropGroup_Origin) |
---|
| 1005 | A(PKEY_PropGroup_PhotoAdvanced) |
---|
| 1006 | A(PKEY_PropGroup_RecordedTV) |
---|
| 1007 | A(PKEY_PropGroup_Video) |
---|
| 1008 | A(PKEY_InfoTipText) |
---|
| 1009 | A(PKEY_PropList_ConflictPrompt) |
---|
| 1010 | A(PKEY_PropList_ContentViewModeForBrowse) |
---|
| 1011 | A(PKEY_PropList_ContentViewModeForSearch) |
---|
| 1012 | A(PKEY_PropList_ExtendedTileInfo) |
---|
| 1013 | A(PKEY_PropList_FileOperationPrompt) |
---|
| 1014 | A(PKEY_PropList_FullDetails) |
---|
| 1015 | A(PKEY_PropList_InfoTip) |
---|
| 1016 | A(PKEY_PropList_NonPersonal) |
---|
| 1017 | A(PKEY_PropList_PreviewDetails) |
---|
| 1018 | A(PKEY_PropList_PreviewTitle) |
---|
| 1019 | A(PKEY_PropList_QuickTip) |
---|
| 1020 | A(PKEY_PropList_TileInfo) |
---|
| 1021 | A(PKEY_PropList_XPDetailsPanel) |
---|
| 1022 | A(PKEY_RecordedTV_ChannelNumber) |
---|
| 1023 | A(PKEY_RecordedTV_Credits) |
---|
| 1024 | A(PKEY_RecordedTV_DateContentExpires) |
---|
| 1025 | A(PKEY_RecordedTV_EpisodeName) |
---|
| 1026 | A(PKEY_RecordedTV_IsATSCContent) |
---|
| 1027 | A(PKEY_RecordedTV_IsClosedCaptioningAvailable) |
---|
| 1028 | A(PKEY_RecordedTV_IsDTVContent) |
---|
| 1029 | A(PKEY_RecordedTV_IsHDContent) |
---|
| 1030 | A(PKEY_RecordedTV_IsRepeatBroadcast) |
---|
| 1031 | A(PKEY_RecordedTV_IsSAP) |
---|
| 1032 | A(PKEY_RecordedTV_NetworkAffiliation) |
---|
| 1033 | A(PKEY_RecordedTV_OriginalBroadcastDate) |
---|
| 1034 | A(PKEY_RecordedTV_ProgramDescription) |
---|
| 1035 | A(PKEY_RecordedTV_RecordingTime) |
---|
| 1036 | A(PKEY_RecordedTV_StationCallSign) |
---|
| 1037 | A(PKEY_RecordedTV_StationName) |
---|
| 1038 | A(PKEY_Search_AutoSummary) |
---|
| 1039 | A(PKEY_Search_ContainerHash) |
---|
| 1040 | A(PKEY_Search_Contents) |
---|
| 1041 | A(PKEY_Search_EntryID) |
---|
| 1042 | A(PKEY_Search_ExtendedProperties) |
---|
| 1043 | A(PKEY_Search_GatherTime) |
---|
| 1044 | A(PKEY_Search_HitCount) |
---|
| 1045 | A(PKEY_Search_IsClosedDirectory) |
---|
| 1046 | A(PKEY_Search_IsFullyContained) |
---|
| 1047 | A(PKEY_Search_QueryFocusedSummary) |
---|
| 1048 | A(PKEY_Search_QueryFocusedSummaryWithFallback) |
---|
| 1049 | A(PKEY_Search_Rank) |
---|
| 1050 | A(PKEY_Search_Store) |
---|
| 1051 | A(PKEY_Search_UrlToIndex) |
---|
| 1052 | A(PKEY_Search_UrlToIndexWithModificationTime) |
---|
| 1053 | A(PKEY_DescriptionID) |
---|
| 1054 | A(PKEY_InternalName) |
---|
| 1055 | A(PKEY_Link_TargetSFGAOFlagsStrings) |
---|
| 1056 | A(PKEY_Link_TargetUrl) |
---|
| 1057 | A(PKEY_NamespaceCLSID) |
---|
| 1058 | A(PKEY_Shell_SFGAOFlagsStrings) |
---|
| 1059 | A(PKEY_AppUserModel_ExcludeFromShowInNewInstall) |
---|
| 1060 | A(PKEY_AppUserModel_ID) |
---|
| 1061 | A(PKEY_AppUserModel_IsDestListSeparator) |
---|
| 1062 | A(PKEY_AppUserModel_PreventPinning) |
---|
| 1063 | A(PKEY_AppUserModel_RelaunchCommand) |
---|
| 1064 | A(PKEY_AppUserModel_RelaunchDisplayNameResource) |
---|
| 1065 | A(PKEY_AppUserModel_RelaunchIconResource) |
---|
| 1066 | A(PKEY_Software_DateLastUsed) |
---|
| 1067 | A(PKEY_Software_ProductName) |
---|
| 1068 | A(PKEY_Sync_Comments) |
---|
| 1069 | A(PKEY_Sync_ConflictDescription) |
---|
| 1070 | A(PKEY_Sync_ConflictFirstLocation) |
---|
| 1071 | A(PKEY_Sync_ConflictSecondLocation) |
---|
| 1072 | A(PKEY_Sync_HandlerCollectionID) |
---|
| 1073 | A(PKEY_Sync_HandlerID) |
---|
| 1074 | A(PKEY_Sync_HandlerName) |
---|
| 1075 | A(PKEY_Sync_HandlerType) |
---|
| 1076 | A(PKEY_Sync_HandlerTypeLabel) |
---|
| 1077 | A(PKEY_Sync_ItemID) |
---|
| 1078 | A(PKEY_Sync_ItemName) |
---|
| 1079 | A(PKEY_Sync_ProgressPercentage) |
---|
| 1080 | A(PKEY_Sync_State) |
---|
| 1081 | A(PKEY_Sync_Status) |
---|
| 1082 | A(PKEY_Task_BillingInformation) |
---|
| 1083 | A(PKEY_Task_CompletionStatus) |
---|
| 1084 | A(PKEY_Task_Owner) |
---|
| 1085 | A(PKEY_Video_Compression) |
---|
| 1086 | A(PKEY_Video_Director) |
---|
| 1087 | A(PKEY_Video_EncodingBitrate) |
---|
| 1088 | A(PKEY_Video_FourCC) |
---|
| 1089 | A(PKEY_Video_FrameHeight) |
---|
| 1090 | A(PKEY_Video_FrameRate) |
---|
| 1091 | A(PKEY_Video_FrameWidth) |
---|
| 1092 | A(PKEY_Video_HorizontalAspectRatio) |
---|
| 1093 | A(PKEY_Video_SampleSize) |
---|
| 1094 | A(PKEY_Video_StreamName) |
---|
| 1095 | A(PKEY_Video_StreamNumber) |
---|
| 1096 | A(PKEY_Video_TotalBitrate) |
---|
| 1097 | A(PKEY_Video_TranscodedForSync) |
---|
| 1098 | A(PKEY_Video_VerticalAspectRatio) |
---|
| 1099 | A(PKEY_Volume_FileSystem) |
---|
| 1100 | A(PKEY_Volume_IsMappedDrive) |
---|
| 1101 | A(PKEY_Volume_IsRoot) |
---|
| 1102 | #pragma endregion |
---|
| 1103 | #pragma region devpkey.h |
---|
| 1104 | B(DEVPKEY_NAME) |
---|
| 1105 | B(DEVPKEY_Device_DeviceDesc) |
---|
| 1106 | B(DEVPKEY_Device_HardwareIds) |
---|
| 1107 | B(DEVPKEY_Device_CompatibleIds) |
---|
| 1108 | B(DEVPKEY_Device_Service) |
---|
| 1109 | B(DEVPKEY_Device_Class) |
---|
| 1110 | B(DEVPKEY_Device_ClassGuid) |
---|
| 1111 | B(DEVPKEY_Device_Driver) |
---|
| 1112 | B(DEVPKEY_Device_ConfigFlags) |
---|
| 1113 | B(DEVPKEY_Device_Manufacturer) |
---|
| 1114 | B(DEVPKEY_Device_FriendlyName) |
---|
| 1115 | B(DEVPKEY_Device_LocationInfo) |
---|
| 1116 | B(DEVPKEY_Device_PDOName) |
---|
| 1117 | B(DEVPKEY_Device_Capabilities) |
---|
| 1118 | B(DEVPKEY_Device_UINumber) |
---|
| 1119 | B(DEVPKEY_Device_UpperFilters) |
---|
| 1120 | B(DEVPKEY_Device_LowerFilters) |
---|
| 1121 | B(DEVPKEY_Device_BusTypeGuid) |
---|
| 1122 | B(DEVPKEY_Device_LegacyBusType) |
---|
| 1123 | B(DEVPKEY_Device_BusNumber) |
---|
| 1124 | B(DEVPKEY_Device_EnumeratorName) |
---|
| 1125 | B(DEVPKEY_Device_Security) |
---|
| 1126 | B(DEVPKEY_Device_SecuritySDS) |
---|
| 1127 | B(DEVPKEY_Device_DevType) |
---|
| 1128 | B(DEVPKEY_Device_Exclusive) |
---|
| 1129 | B(DEVPKEY_Device_Characteristics) |
---|
| 1130 | B(DEVPKEY_Device_Address) |
---|
| 1131 | B(DEVPKEY_Device_UINumberDescFormat) |
---|
| 1132 | B(DEVPKEY_Device_PowerData) |
---|
| 1133 | B(DEVPKEY_Device_RemovalPolicy) |
---|
| 1134 | B(DEVPKEY_Device_RemovalPolicyDefault) |
---|
| 1135 | B(DEVPKEY_Device_RemovalPolicyOverride) |
---|
| 1136 | B(DEVPKEY_Device_InstallState) |
---|
| 1137 | B(DEVPKEY_Device_LocationPaths) |
---|
| 1138 | B(DEVPKEY_Device_BaseContainerId) |
---|
| 1139 | B(DEVPKEY_Device_DevNodeStatus) |
---|
| 1140 | B(DEVPKEY_Device_ProblemCode) |
---|
| 1141 | B(DEVPKEY_Device_EjectionRelations) |
---|
| 1142 | B(DEVPKEY_Device_RemovalRelations) |
---|
| 1143 | B(DEVPKEY_Device_PowerRelations) |
---|
| 1144 | B(DEVPKEY_Device_BusRelations) |
---|
| 1145 | B(DEVPKEY_Device_Parent) |
---|
| 1146 | B(DEVPKEY_Device_Children) |
---|
| 1147 | B(DEVPKEY_Device_Siblings) |
---|
| 1148 | B(DEVPKEY_Device_TransportRelations) |
---|
| 1149 | B(DEVPKEY_Device_Reported) |
---|
| 1150 | B(DEVPKEY_Device_Legacy) |
---|
| 1151 | B(DEVPKEY_Device_InstanceId) |
---|
| 1152 | B(DEVPKEY_Device_ContainerId) |
---|
| 1153 | B(DEVPKEY_Device_ModelId) |
---|
| 1154 | B(DEVPKEY_Device_FriendlyNameAttributes) |
---|
| 1155 | B(DEVPKEY_Device_ManufacturerAttributes) |
---|
| 1156 | B(DEVPKEY_Device_PresenceNotForDevice) |
---|
| 1157 | B(DEVPKEY_Numa_Proximity_Domain) |
---|
| 1158 | B(DEVPKEY_Device_DHP_Rebalance_Policy) |
---|
| 1159 | B(DEVPKEY_Device_Numa_Node) |
---|
| 1160 | B(DEVPKEY_Device_BusReportedDeviceDesc) |
---|
| 1161 | B(DEVPKEY_Device_SessionId) |
---|
| 1162 | B(DEVPKEY_Device_InstallDate) |
---|
| 1163 | B(DEVPKEY_Device_FirstInstallDate) |
---|
| 1164 | B(DEVPKEY_Device_DriverDate) |
---|
| 1165 | B(DEVPKEY_Device_DriverVersion) |
---|
| 1166 | B(DEVPKEY_Device_DriverDesc) |
---|
| 1167 | B(DEVPKEY_Device_DriverInfPath) |
---|
| 1168 | B(DEVPKEY_Device_DriverInfSection) |
---|
| 1169 | B(DEVPKEY_Device_DriverInfSectionExt) |
---|
| 1170 | B(DEVPKEY_Device_MatchingDeviceId) |
---|
| 1171 | B(DEVPKEY_Device_DriverProvider) |
---|
| 1172 | B(DEVPKEY_Device_DriverPropPageProvider) |
---|
| 1173 | B(DEVPKEY_Device_DriverCoInstallers) |
---|
| 1174 | B(DEVPKEY_Device_ResourcePickerTags) |
---|
| 1175 | B(DEVPKEY_Device_ResourcePickerExceptions) |
---|
| 1176 | B(DEVPKEY_Device_DriverRank) |
---|
| 1177 | B(DEVPKEY_Device_DriverLogoLevel) |
---|
| 1178 | B(DEVPKEY_Device_NoConnectSound) |
---|
| 1179 | B(DEVPKEY_Device_GenericDriverInstalled) |
---|
| 1180 | B(DEVPKEY_Device_AdditionalSoftwareRequested) |
---|
| 1181 | B(DEVPKEY_Device_SafeRemovalRequired) |
---|
| 1182 | B(DEVPKEY_Device_SafeRemovalRequiredOverride) |
---|
| 1183 | B(DEVPKEY_DrvPkg_Model) |
---|
| 1184 | B(DEVPKEY_DrvPkg_VendorWebSite) |
---|
| 1185 | B(DEVPKEY_DrvPkg_DetailedDescription) |
---|
| 1186 | B(DEVPKEY_DrvPkg_DocumentationLink) |
---|
| 1187 | B(DEVPKEY_DrvPkg_Icon) |
---|
| 1188 | B(DEVPKEY_DrvPkg_BrandingIcon) |
---|
| 1189 | B(DEVPKEY_DeviceClass_UpperFilters) |
---|
| 1190 | B(DEVPKEY_DeviceClass_LowerFilters) |
---|
| 1191 | B(DEVPKEY_DeviceClass_Security) |
---|
| 1192 | B(DEVPKEY_DeviceClass_SecuritySDS) |
---|
| 1193 | B(DEVPKEY_DeviceClass_DevType) |
---|
| 1194 | B(DEVPKEY_DeviceClass_Exclusive) |
---|
| 1195 | B(DEVPKEY_DeviceClass_Characteristics) |
---|
| 1196 | B(DEVPKEY_DeviceClass_Name) |
---|
| 1197 | B(DEVPKEY_DeviceClass_ClassName) |
---|
| 1198 | B(DEVPKEY_DeviceClass_Icon) |
---|
| 1199 | B(DEVPKEY_DeviceClass_ClassInstaller) |
---|
| 1200 | B(DEVPKEY_DeviceClass_PropPageProvider) |
---|
| 1201 | B(DEVPKEY_DeviceClass_NoInstallClass) |
---|
| 1202 | B(DEVPKEY_DeviceClass_NoDisplayClass) |
---|
| 1203 | B(DEVPKEY_DeviceClass_SilentInstall) |
---|
| 1204 | B(DEVPKEY_DeviceClass_NoUseClass) |
---|
| 1205 | B(DEVPKEY_DeviceClass_DefaultService) |
---|
| 1206 | B(DEVPKEY_DeviceClass_IconPath) |
---|
| 1207 | B(DEVPKEY_DeviceClass_DHPRebalanceOptOut) |
---|
| 1208 | B(DEVPKEY_DeviceClass_ClassCoInstallers) |
---|
| 1209 | B(DEVPKEY_DeviceInterface_FriendlyName) |
---|
| 1210 | B(DEVPKEY_DeviceInterface_Enabled) |
---|
| 1211 | B(DEVPKEY_DeviceInterface_ClassGuid) |
---|
| 1212 | B(DEVPKEY_DeviceInterfaceClass_DefaultInterface) |
---|
| 1213 | B(DEVPKEY_DeviceDisplay_IsShowInDisconnectedState) |
---|
| 1214 | B(DEVPKEY_DeviceDisplay_IsNotInterestingForDisplay) |
---|
| 1215 | B(DEVPKEY_DeviceDisplay_Category) |
---|
| 1216 | B(DEVPKEY_DeviceDisplay_UnpairUninstall) |
---|
| 1217 | B(DEVPKEY_DeviceDisplay_RequiresUninstallElevation) |
---|
| 1218 | B(DEVPKEY_DeviceDisplay_AlwaysShowDeviceAsConnected) |
---|
| 1219 | #pragma endregion |
---|
| 1220 | }; |
---|
[522] | 1221 | #undef A |
---|
| 1222 | #undef B |
---|
[11] | 1223 | #pragma endregion |
---|
| 1224 | for(SIZE_T nIndex = 0; nIndex < DIM(g_pMap); nIndex++) |
---|
| 1225 | if(g_pMap[nIndex].pKey->fmtid == Key.fmtid && g_pMap[nIndex].pKey->pid == Key.pid) |
---|
| 1226 | { |
---|
| 1227 | sKeyName = CA2CT(g_pMap[nIndex].pszName); |
---|
| 1228 | break; |
---|
| 1229 | } |
---|
| 1230 | if(sKeyName.IsEmpty()) |
---|
| 1231 | sKeyName = AtlFormatString(_T("%ls, %d"), _PersistHelper::StringFromIdentifier(Key.fmtid), Key.pid); |
---|
[351] | 1232 | #pragma region String Value |
---|
[11] | 1233 | CString sValue; |
---|
| 1234 | HRESULT nChangeTypeResult = E_FAIL; |
---|
| 1235 | // NOTE: See http://msdn.microsoft.com/en-us/library/cc235506%28v=prot.10%29.aspx |
---|
| 1236 | switch(Value.vt) |
---|
| 1237 | { |
---|
| 1238 | case VT_LPSTR: |
---|
| 1239 | sValue = CA2CT(Value.pszVal); |
---|
| 1240 | nChangeTypeResult = S_OK; |
---|
| 1241 | break; |
---|
| 1242 | case VT_LPWSTR: |
---|
| 1243 | sValue = CW2CT(Value.pwszVal); |
---|
| 1244 | nChangeTypeResult = S_OK; |
---|
| 1245 | break; |
---|
| 1246 | case VT_BLOB: |
---|
| 1247 | sValue = AtlFormatString(_T("%d bytes of BLOB"), Value.blob.cbSize); |
---|
| 1248 | if(Value.blob.cbSize) |
---|
| 1249 | { |
---|
| 1250 | sValue += _T(", "); |
---|
| 1251 | CRoArrayT<CString> Array; |
---|
[351] | 1252 | static const SIZE_T g_nMaximalSize = 128; |
---|
| 1253 | if(Value.blob.cbSize <= g_nMaximalSize) |
---|
[11] | 1254 | { |
---|
| 1255 | for(ULONG nIndex = 0; nIndex < Value.blob.cbSize; nIndex++) |
---|
| 1256 | _W(Array.Add(AtlFormatString(_T("%02X"), Value.blob.pBlobData[nIndex])) >= 0); |
---|
| 1257 | } else |
---|
| 1258 | { |
---|
[351] | 1259 | for(ULONG nIndex = 0; nIndex < g_nMaximalSize - 8; nIndex++) |
---|
[11] | 1260 | _W(Array.Add(AtlFormatString(_T("%02X"), Value.blob.pBlobData[nIndex])) >= 0); |
---|
| 1261 | _W(Array.Add(_T("...")) >= 0); |
---|
| 1262 | for(ULONG nIndex = 0; nIndex < 4; nIndex++) |
---|
| 1263 | _W(Array.Add(AtlFormatString(_T("%02X"), Value.blob.pBlobData[Value.blob.cbSize - 4 + nIndex])) >= 0); |
---|
| 1264 | } |
---|
| 1265 | sValue += _StringHelper::Join(Array, _T(" ")); |
---|
| 1266 | } |
---|
| 1267 | nChangeTypeResult = S_OK; |
---|
| 1268 | break; |
---|
| 1269 | case VT_CLSID: |
---|
| 1270 | sValue = CW2CT(_PersistHelper::StringFromIdentifier(*Value.puuid)); |
---|
| 1271 | nChangeTypeResult = S_OK; |
---|
| 1272 | break; |
---|
| 1273 | } |
---|
[351] | 1274 | #pragma region Variant as String |
---|
[11] | 1275 | CComVariant vValue; |
---|
| 1276 | if(FAILED(nChangeTypeResult)) |
---|
| 1277 | { |
---|
| 1278 | nChangeTypeResult = vValue.ChangeType(VT_BSTR, &reinterpret_cast<VARIANT&>(Value)); |
---|
| 1279 | if(SUCCEEDED(nChangeTypeResult)) |
---|
| 1280 | sValue = CW2CT(vValue.bstrVal); |
---|
| 1281 | else |
---|
| 1282 | sValue = _T("???"); |
---|
| 1283 | } |
---|
[351] | 1284 | #pragma endregion |
---|
| 1285 | #pragma endregion |
---|
[522] | 1286 | #pragma region Variant Type |
---|
[351] | 1287 | static const CEnumerationNameT<VARTYPE> g_pVarTypeMap[] = |
---|
| 1288 | { |
---|
| 1289 | #define A(x) { x, #x }, |
---|
| 1290 | A(VT_EMPTY) |
---|
[522] | 1291 | A(VT_NULL) |
---|
| 1292 | A(VT_I2) |
---|
| 1293 | A(VT_I4) |
---|
| 1294 | A(VT_R4) |
---|
| 1295 | A(VT_R8) |
---|
| 1296 | A(VT_CY) |
---|
| 1297 | A(VT_DATE) |
---|
| 1298 | A(VT_BSTR) |
---|
| 1299 | A(VT_DISPATCH) |
---|
| 1300 | A(VT_ERROR) |
---|
| 1301 | A(VT_BOOL) |
---|
| 1302 | A(VT_VARIANT) |
---|
| 1303 | A(VT_UNKNOWN) |
---|
| 1304 | A(VT_DECIMAL) |
---|
| 1305 | A(VT_I1) |
---|
| 1306 | A(VT_UI1) |
---|
| 1307 | A(VT_UI2) |
---|
| 1308 | A(VT_UI4) |
---|
| 1309 | A(VT_I8) |
---|
| 1310 | A(VT_UI8) |
---|
| 1311 | A(VT_INT) |
---|
| 1312 | A(VT_UINT) |
---|
| 1313 | A(VT_VOID) |
---|
| 1314 | A(VT_HRESULT) |
---|
| 1315 | A(VT_PTR) |
---|
| 1316 | A(VT_SAFEARRAY) |
---|
| 1317 | A(VT_CARRAY) |
---|
| 1318 | A(VT_USERDEFINED) |
---|
| 1319 | A(VT_LPSTR) |
---|
| 1320 | A(VT_LPWSTR) |
---|
| 1321 | A(VT_RECORD) |
---|
| 1322 | A(VT_INT_PTR) |
---|
| 1323 | A(VT_UINT_PTR) |
---|
| 1324 | A(VT_FILETIME) |
---|
| 1325 | A(VT_BLOB) |
---|
| 1326 | A(VT_STREAM) |
---|
| 1327 | A(VT_STORAGE) |
---|
| 1328 | A(VT_STREAMED_OBJECT) |
---|
| 1329 | A(VT_STORED_OBJECT) |
---|
| 1330 | A(VT_BLOB_OBJECT) |
---|
| 1331 | A(VT_CF) |
---|
| 1332 | A(VT_CLSID) |
---|
| 1333 | A(VT_VERSIONED_STREAM) |
---|
[351] | 1334 | #undef A |
---|
| 1335 | }; |
---|
[522] | 1336 | #pragma endregion |
---|
| 1337 | #pragma region Detail |
---|
| 1338 | CString sDetail; |
---|
| 1339 | if(Key == PKEY_AudioEndpoint_FormFactor && Value.vt == VT_UI4) |
---|
| 1340 | { |
---|
| 1341 | static const CEnumerationNameT<UINT32> g_pMap[] = |
---|
| 1342 | { |
---|
| 1343 | #define A(x) { x, #x }, |
---|
| 1344 | A(RemoteNetworkDevice) |
---|
| 1345 | A(Speakers) |
---|
| 1346 | A(LineLevel) |
---|
| 1347 | A(Headphones) |
---|
| 1348 | A(Microphone) |
---|
| 1349 | A(Headset) |
---|
| 1350 | A(Handset) |
---|
| 1351 | A(UnknownDigitalPassthrough) |
---|
| 1352 | A(SPDIF) |
---|
| 1353 | A(DigitalAudioDisplayDevice) |
---|
| 1354 | A(UnknownFormFactor) |
---|
| 1355 | #undef A |
---|
| 1356 | }; |
---|
| 1357 | sDetail = FormatEnumerationT(g_pMap, Value.uintVal); |
---|
| 1358 | } else |
---|
| 1359 | if(IsWaveFormatExKey(Key) && Value.vt == VT_BLOB && Value.blob.cbSize >= sizeof (WAVEFORMATEX)) |
---|
| 1360 | { |
---|
| 1361 | CRoArrayT<CString> Array; |
---|
[792] | 1362 | FormatWaveFormatEx((const WAVEFORMATEX*) Value.blob.pBlobData, Value.blob.cbSize, Array); |
---|
[522] | 1363 | sDetail = _StringHelper::Join(Array, _T("; ")); |
---|
| 1364 | } |
---|
| 1365 | #pragma endregion |
---|
| 1366 | sText.Append(_StringHelper::Join<CString>(6, _T("\t"), |
---|
[351] | 1367 | _T(""), |
---|
| 1368 | _T(""), |
---|
| 1369 | sKeyName, |
---|
| 1370 | sValue, |
---|
| 1371 | FormatEnumerationT(g_pVarTypeMap, Value.vt), |
---|
[522] | 1372 | sDetail, |
---|
[351] | 1373 | 0) + _T("\r\n")); |
---|
[11] | 1374 | } |
---|
| 1375 | _ATLCATCHALL() |
---|
| 1376 | { |
---|
| 1377 | _V(PropVariantClear(&Value)); |
---|
| 1378 | _ATLRETHROW; |
---|
| 1379 | } |
---|
| 1380 | __C(PropVariantClear(&Value)); |
---|
| 1381 | } |
---|
| 1382 | _ATLCATCH(Exception) |
---|
| 1383 | { |
---|
| 1384 | _Z_ATLEXCEPTION(Exception); |
---|
[522] | 1385 | sText.AppendFormat(_T("\t\t") _T("Error 0x%08X\r\n"), (HRESULT) Exception); |
---|
[11] | 1386 | } |
---|
| 1387 | #pragma endregion |
---|
[590] | 1388 | #pragma region IDeviceTopology |
---|
| 1389 | _ATLTRY |
---|
| 1390 | { |
---|
| 1391 | // TODO: Make it nice |
---|
| 1392 | // NOTE: http://stackoverflow.com/questions/34025791/how-to-get-jack-information-of-audio-device-in-ms-windows-7 |
---|
| 1393 | CComPtr<IDeviceTopology> pDeviceTopology; |
---|
| 1394 | __C(pMmDevice->Activate(__uuidof(IDeviceTopology), CLSCTX_ALL, NULL, (VOID**) &pDeviceTopology)); |
---|
| 1395 | HRESULT hr; |
---|
| 1396 | CComPtr<IConnector> pConnector; |
---|
| 1397 | hr = pDeviceTopology->GetConnector(0, &pConnector); |
---|
| 1398 | if(SUCCEEDED(hr)) |
---|
| 1399 | { |
---|
| 1400 | CComPtr<IConnector> connectedTo; |
---|
| 1401 | hr = pConnector->GetConnectedTo(&connectedTo); |
---|
| 1402 | if(SUCCEEDED(hr)) |
---|
| 1403 | { |
---|
| 1404 | CComPtr<IPart> part; |
---|
| 1405 | hr = connectedTo->QueryInterface(&part); |
---|
| 1406 | if (SUCCEEDED(hr)) |
---|
| 1407 | { |
---|
| 1408 | CComPtr<IKsJackDescription> jack; |
---|
| 1409 | hr = part->Activate(CLSCTX_ALL, IID_PPV_ARGS(&jack)); |
---|
[619] | 1410 | if(SUCCEEDED(hr)) |
---|
[590] | 1411 | { |
---|
[619] | 1412 | sText.AppendFormat(_T("\t") _T("Device Topology\r\n")); |
---|
[590] | 1413 | UINT jackCount = 0; |
---|
| 1414 | jack->GetJackCount(&jackCount); |
---|
[619] | 1415 | for(UINT j = 0; j < jackCount; j++) |
---|
[590] | 1416 | { |
---|
| 1417 | KSJACK_DESCRIPTION desc = { 0 }; |
---|
| 1418 | jack->GetJackDescription(j, &desc); |
---|
| 1419 | sText.AppendFormat(_T("\t") _T("\t") _T("ChannelMapping\t%i\r\n"), desc.ChannelMapping); |
---|
| 1420 | sText.AppendFormat(_T("\t") _T("\t") _T("ConnectionType\t%i\r\n"), desc.ConnectionType); |
---|
| 1421 | sText.AppendFormat(_T("\t") _T("\t") _T("IsConnected\t%i\r\n"), desc.IsConnected); |
---|
| 1422 | sText.AppendFormat(_T("\t") _T("\t") _T("Color\t0x%08X\r\n"), desc.Color); |
---|
| 1423 | } |
---|
| 1424 | } |
---|
| 1425 | } |
---|
| 1426 | } |
---|
| 1427 | } |
---|
| 1428 | } |
---|
| 1429 | _ATLCATCHALL() |
---|
| 1430 | { |
---|
| 1431 | _Z_EXCEPTION(); |
---|
| 1432 | } |
---|
[619] | 1433 | #pragma endregion |
---|
| 1434 | #pragma region Activation |
---|
| 1435 | sText.AppendFormat(_T("\t") _T("Activation") _T("\r\n")); |
---|
| 1436 | static const CEnumerationNameT<IID> g_pMap[] = |
---|
| 1437 | { |
---|
| 1438 | #define A(x) { __uuidof(x), #x }, |
---|
| 1439 | A(IAudioClient) |
---|
| 1440 | A(IAudioEndpointVolume) |
---|
| 1441 | A(IAudioMeterInformation) |
---|
| 1442 | A(IAudioSessionManager) |
---|
| 1443 | A(IAudioSessionManager2) |
---|
| 1444 | A(IBaseFilter) |
---|
| 1445 | A(IDeviceTopology) |
---|
| 1446 | //A(IDirectSound) |
---|
| 1447 | //A(IDirectSound8) |
---|
| 1448 | //A(IDirectSoundCapture) |
---|
| 1449 | //A(IDirectSoundCapture8) |
---|
| 1450 | A(IMFTrustedOutput) |
---|
| 1451 | #undef A |
---|
| 1452 | }; |
---|
| 1453 | for(auto&& Item: g_pMap) |
---|
| 1454 | { |
---|
| 1455 | CComPtr<IUnknown> pUnknown; |
---|
| 1456 | const HRESULT nActivateResult = pMmDevice->Activate(Item.Value, CLSCTX_ALL, NULL, (VOID**) &pUnknown); |
---|
[792] | 1457 | CRoArrayT<CString> ArrayA; |
---|
| 1458 | ArrayA.Add(CString(Item.pszName)); |
---|
| 1459 | ArrayA.Add(MF::FormatResult(nActivateResult)); |
---|
| 1460 | sText.AppendFormat(_T("\t") _T("\t") _T("%s") _T("\r\n"), _StringHelper::Join(ArrayA, _T("\t"))); |
---|
| 1461 | if(FAILED(nActivateResult)) |
---|
| 1462 | continue; |
---|
| 1463 | if(Item.Value == __uuidof(IAudioClient)) |
---|
| 1464 | { |
---|
| 1465 | const CComPtr<IAudioClient>& pAudioClient = reinterpret_cast<const CComPtr<IAudioClient>&>(pUnknown); |
---|
| 1466 | WAVEFORMATEX* pWaveFormatEx; |
---|
| 1467 | if(SUCCEEDED(pAudioClient->GetMixFormat(&pWaveFormatEx))) |
---|
| 1468 | { |
---|
| 1469 | ArrayA.RemoveAll(); |
---|
| 1470 | ArrayA.Add(_T("Mix Format")); |
---|
| 1471 | CRoArrayT<CString> ArrayB; |
---|
| 1472 | FormatWaveFormatEx(pWaveFormatEx, sizeof *pWaveFormatEx + pWaveFormatEx->cbSize, ArrayB); |
---|
| 1473 | ArrayA.Add(_StringHelper::Join(ArrayB, _T("; "))); |
---|
| 1474 | sText.AppendFormat(_T("\t") _T("\t") _T("\t") _T("%s") _T("\r\n"), _StringHelper::Join(ArrayA, _T("\t"))); |
---|
| 1475 | } |
---|
| 1476 | // SUGG: Try explicitly well known formats like mono, stereo, 5.1, 7.1 at 48000 Hz, 16-bit, 24-bit and 32-bit IEEE float |
---|
| 1477 | } |
---|
[619] | 1478 | } |
---|
[590] | 1479 | #pragma endregion |
---|
[11] | 1480 | } |
---|
| 1481 | _ATLCATCH(Exception) |
---|
| 1482 | { |
---|
| 1483 | _Z_ATLEXCEPTION(Exception); |
---|
[522] | 1484 | sText.AppendFormat(_T("\t") _T("Error 0x%08X\r\n"), (HRESULT) Exception); |
---|
[11] | 1485 | } |
---|
| 1486 | } |
---|
| 1487 | _ATLCATCH(Exception) |
---|
| 1488 | { |
---|
| 1489 | _Z_ATLEXCEPTION(Exception); |
---|
[522] | 1490 | sText.AppendFormat(_T("Error 0x%08X\r\n"), (HRESULT) Exception); |
---|
[11] | 1491 | } |
---|
| 1492 | #pragma endregion |
---|
| 1493 | m_TextEdit.SetValue(sText); |
---|
| 1494 | } |
---|
| 1495 | _ATLCATCHALL() |
---|
| 1496 | { |
---|
| 1497 | _Z_EXCEPTION(); |
---|
| 1498 | } |
---|
| 1499 | return TRUE; |
---|
| 1500 | } |
---|
| 1501 | LRESULT OnSysCommand(UINT nCommand, CPoint) |
---|
| 1502 | { |
---|
| 1503 | switch(nCommand) |
---|
| 1504 | { |
---|
| 1505 | case ID_APP_ABOUT: |
---|
| 1506 | { |
---|
| 1507 | CAboutDialog Dialog; |
---|
| 1508 | Dialog.DoModal(m_hWnd); |
---|
| 1509 | } |
---|
| 1510 | break; |
---|
| 1511 | default: |
---|
| 1512 | SetMsgHandled(FALSE); |
---|
| 1513 | } |
---|
| 1514 | return 0; |
---|
| 1515 | } |
---|
| 1516 | LRESULT OnCommand(UINT, INT nIdentifier, HWND) |
---|
| 1517 | { |
---|
| 1518 | _W(EndDialog(nIdentifier)); |
---|
| 1519 | return 0; |
---|
| 1520 | } |
---|
| 1521 | }; |
---|