Changeset 107017 in vbox
- Timestamp:
- Nov 15, 2024 3:07:41 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/PlatformPropertiesImpl.cpp
r106384 r107017 174 174 HRESULT PlatformProperties::getParallelPortCount(ULONG *count) 175 175 { 176 /* no need to lock, this is const */ 177 *count = SchemaDefs::ParallelPortCount; 176 switch (mPlatformArchitecture) 177 { 178 case PlatformArchitecture_x86: 179 { 180 /* no need to lock, this is const */ 181 *count = SchemaDefs::ParallelPortCount; 182 break; 183 } 184 185 case PlatformArchitecture_ARM: 186 default: 187 { 188 *count = 0; /* Not supported. */ 189 break; 190 } 191 } 178 192 179 193 return S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.