Changeset 70061 in vbox for trunk/include/VBox/HostServices
- Timestamp:
- Dec 11, 2017 3:26:46 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 119603
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestPropertySvc.h
r70060 r70061 290 290 #define GUESTPROPHOSTCALLBACKDATA_MAGIC UINT32_C(0x69c87a78) 291 291 292 /** Everything defined in this file lives in this namespace. */293 namespace guestProp {294 295 292 /** 296 293 * HGCM parameter structures. Packing is explicitly defined as this is a wire format. 297 294 */ 298 295 /** The guest is requesting the value of a property */ 299 typedef struct _GetProperty296 typedef struct GuestPropMsgGetProperty 300 297 { 301 298 VBGLIOCHGCMCALL hdr; … … 329 326 */ 330 327 HGCMFunctionParameter size; 331 } G etProperty;332 AssertCompileSize(G etProperty, 40 + 4 * (ARCH_BITS == 64 ? 16 : 12));328 } GuestPropMsgGetProperty; 329 AssertCompileSize(GuestPropMsgGetProperty, 40 + 4 * (ARCH_BITS == 64 ? 16 : 12)); 333 330 334 331 /** The guest is requesting to change a property */ 335 typedef struct _SetProperty332 typedef struct GuestPropMsgSetProperty 336 333 { 337 334 VBGLIOCHGCMCALL hdr; … … 360 357 */ 361 358 HGCMFunctionParameter flags; 362 } SetProperty;363 AssertCompileSize( SetProperty, 40 + 3 * (ARCH_BITS == 64 ? 16 : 12));359 } GuestPropMsgSetProperty; 360 AssertCompileSize(GuestPropMsgSetProperty, 40 + 3 * (ARCH_BITS == 64 ? 16 : 12)); 364 361 365 362 /** The guest is requesting to change the value of a property */ 366 typedef struct _SetPropertyValue363 typedef struct GuestPropMsgSetPropertyValue 367 364 { 368 365 VBGLIOCHGCMCALL hdr; … … 383 380 */ 384 381 HGCMFunctionParameter value; 385 } SetPropertyValue;386 AssertCompileSize( SetPropertyValue, 40 + 2 * (ARCH_BITS == 64 ? 16 : 12));382 } GuestPropMsgSetPropertyValue; 383 AssertCompileSize(GuestPropMsgSetPropertyValue, 40 + 2 * (ARCH_BITS == 64 ? 16 : 12)); 387 384 388 385 /** The guest is requesting to remove a property */ 389 typedef struct _DelProperty386 typedef struct GuestPropMsgDelProperty 390 387 { 391 388 VBGLIOCHGCMCALL hdr; … … 398 395 */ 399 396 HGCMFunctionParameter name; 400 } DelProperty;401 AssertCompileSize( DelProperty, 40 + 1 * (ARCH_BITS == 64 ? 16 : 12));397 } GuestPropMsgDelProperty; 398 AssertCompileSize(GuestPropMsgDelProperty, 40 + 1 * (ARCH_BITS == 64 ? 16 : 12)); 402 399 403 400 /** The guest is requesting to enumerate properties */ 404 typedef struct _EnumProperties401 typedef struct GuestPropMsgEnumProperties 405 402 { 406 403 VBGLIOCHGCMCALL hdr; … … 429 426 */ 430 427 HGCMFunctionParameter size; 431 } EnumProperties;432 AssertCompileSize( EnumProperties, 40 + 3 * (ARCH_BITS == 64 ? 16 : 12));428 } GuestPropMsgEnumProperties; 429 AssertCompileSize(GuestPropMsgEnumProperties, 40 + 3 * (ARCH_BITS == 64 ? 16 : 12)); 433 430 434 431 /** … … 453 450 * the outgoing timestamp from the previous call. 454 451 */ 455 typedef struct _GetNotification452 typedef struct GuestPropMsgGetNotification 456 453 { 457 454 VBGLIOCHGCMCALL hdr; … … 489 486 */ 490 487 HGCMFunctionParameter size; 491 } GetNotification; 492 AssertCompileSize(GetNotification, 40 + 4 * (ARCH_BITS == 64 ? 16 : 12)); 493 494 } /* namespace guestProp */ 488 } GuestPropMsgGetNotification; 489 AssertCompileSize(GuestPropMsgGetNotification, 40 + 4 * (ARCH_BITS == 64 ? 16 : 12)); 490 495 491 496 492 #endif /* !___VBox_HostService_GuestPropertySvc_h */
Note:
See TracChangeset
for help on using the changeset viewer.