Changeset 55526 in vbox
- Timestamp:
- Apr 29, 2015 4:12:32 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/include/VBox/hgcmsvc.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/hgcmsvc.h
r55327 r55526 108 108 } u; 109 109 #ifdef __cplusplus 110 /** Extract a uint32_t value from an HGCM parameter structure */111 int getUInt32 (uint32_t *u32)110 /** Extract an uint32_t value from an HGCM parameter structure */ 111 int getUInt32(uint32_t *u32) 112 112 { 113 113 AssertPtrReturn(u32, VERR_INVALID_POINTER); … … 121 121 122 122 /** Extract a uint64_t value from an HGCM parameter structure */ 123 int getUInt64 (uint64_t *u64)123 int getUInt64(uint64_t *u64) 124 124 { 125 125 AssertPtrReturn(u64, VERR_INVALID_POINTER); … … 133 133 134 134 /** Extract a pointer value from an HGCM parameter structure */ 135 int getPointer (void **ppv, uint32_t *pcb)135 int getPointer(void **ppv, uint32_t *pcb) 136 136 { 137 137 AssertPtrReturn(ppv, VERR_INVALID_POINTER); … … 148 148 149 149 /** Extract a constant pointer value from an HGCM parameter structure */ 150 int getPointer (const void **ppcv, uint32_t *pcb)150 int getPointer(const void **ppcv, uint32_t *pcb) 151 151 { 152 152 AssertPtrReturn(ppcv, VERR_INVALID_POINTER); … … 160 160 /** Extract a pointer value to a non-empty buffer from an HGCM parameter 161 161 * structure */ 162 int getBuffer (void **ppv, uint32_t *pcb)162 int getBuffer(void **ppv, uint32_t *pcb) 163 163 { 164 164 AssertPtrReturn(ppv, VERR_INVALID_POINTER); … … 181 181 /** Extract a pointer value to a non-empty constant buffer from an HGCM 182 182 * parameter structure */ 183 int getBuffer (const void **ppcv, uint32_t *pcb)183 int getBuffer(const void **ppcv, uint32_t *pcb) 184 184 { 185 185 AssertPtrReturn(ppcv, VERR_INVALID_POINTER); … … 192 192 193 193 /** Extract a string value from an HGCM parameter structure */ 194 int getString (char **ppch, uint32_t *pcb)194 int getString(char **ppch, uint32_t *pcb) 195 195 { 196 196 uint32_t cb = 0; … … 211 211 212 212 /** Extract a constant string value from an HGCM parameter structure */ 213 int getString (const char **ppch, uint32_t *pcb)213 int getString(const char **ppch, uint32_t *pcb) 214 214 { 215 215 char *pch = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.

