Changeset 70060 in vbox for trunk/include/VBox
- Timestamp:
- Dec 11, 2017 3:13:53 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestPropertySvc.h
r70058 r70060 32 32 #include <VBox/log.h> 33 33 #include <VBox/hgcmsvc.h> 34 #include <iprt/assert .h>34 #include <iprt/assertcompile.h> 35 35 #include <iprt/string.h> 36 36 … … 296 296 * HGCM parameter structures. Packing is explicitly defined as this is a wire format. 297 297 */ 298 #pragma pack (1)299 298 /** The guest is requesting the value of a property */ 300 299 typedef struct _GetProperty … … 331 330 HGCMFunctionParameter size; 332 331 } GetProperty; 332 AssertCompileSize(GetProperty, 40 + 4 * (ARCH_BITS == 64 ? 16 : 12)); 333 333 334 334 /** The guest is requesting to change a property */ … … 361 361 HGCMFunctionParameter flags; 362 362 } SetProperty; 363 AssertCompileSize(SetProperty, 40 + 3 * (ARCH_BITS == 64 ? 16 : 12)); 363 364 364 365 /** The guest is requesting to change the value of a property */ … … 383 384 HGCMFunctionParameter value; 384 385 } SetPropertyValue; 386 AssertCompileSize(SetPropertyValue, 40 + 2 * (ARCH_BITS == 64 ? 16 : 12)); 385 387 386 388 /** The guest is requesting to remove a property */ … … 397 399 HGCMFunctionParameter name; 398 400 } DelProperty; 401 AssertCompileSize(DelProperty, 40 + 1 * (ARCH_BITS == 64 ? 16 : 12)); 399 402 400 403 /** The guest is requesting to enumerate properties */ … … 427 430 HGCMFunctionParameter size; 428 431 } EnumProperties; 432 AssertCompileSize(EnumProperties, 40 + 3 * (ARCH_BITS == 64 ? 16 : 12)); 429 433 430 434 /** … … 486 490 HGCMFunctionParameter size; 487 491 } GetNotification; 488 #pragma pack () 492 AssertCompileSize(GetNotification, 40 + 4 * (ARCH_BITS == 64 ? 16 : 12)); 489 493 490 494 } /* namespace guestProp */
Note:
See TracChangeset
for help on using the changeset viewer.