Changeset 63470 in vbox
- Timestamp:
- Aug 15, 2016 12:07:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/HBDMgmt-darwin.cpp
r62506 r63470 201 201 202 202 /** 203 * Callback notifying us that the async DADiskClaim()/DADiskUnmount call has completed. 203 * Implements the OS X callback DADiskClaimCallback. 204 * 205 * This notifies us that the async DADiskClaim()/DADiskUnmount call has 206 * completed. 204 207 * 205 208 * @param hDiskRef The disk that was attempted claimed / unmounted. … … 207 210 * @param pvContext Pointer to the return code variable. 208 211 */ 209 static DECLCALLBACK(void) hbdMgrDACallbackComplete(DADiskRef hDiskRef, DADissenterRef hDissenterRef, void *pvContext) 210 { 212 static void hbdMgrDACallbackComplete(DADiskRef hDiskRef, DADissenterRef hDissenterRef, void *pvContext) 213 { 214 RT_NOREF(hDiskRef); 211 215 PHBDMGRDACLBKARGS pArgs = (PHBDMGRDACLBKARGS)pvContext; 212 216 pArgs->pszErrDetail = NULL; … … 231 235 232 236 /** 233 * Callback notifying us about any attempt to mount a volume. If we claimed the volume 234 * or the complete disk containing the volume we will deny the attempt. 237 * Implements the OS X callback DADiskMountApprovalCallback. 238 * 239 * This notifies us about any attempt to mount a volume. If we claimed the 240 * volume or the complete disk containing the volume we will deny the attempt. 235 241 * 236 242 * @returns Reference to a DADissenter object which contains the result. … … 238 244 * @param pvCOntext Pointer to the block device manager. 239 245 */ 240 static D ECLCALLBACK(DADissenterRef)hbdMgrDAMountApprovalCallback(DADiskRef hDiskRef, void *pvContext)246 static DADissenterRef hbdMgrDAMountApprovalCallback(DADiskRef hDiskRef, void *pvContext) 241 247 { 242 248 PHBDMGRINT pThis = (PHBDMGRINT)pvContext; … … 275 281 276 282 /** 283 * Implements OS X callback CFRunLoopSourceContext::perform. 284 * 277 285 * Dummy handler for the wakeup source to kick the worker thread. 278 286 * … … 280 288 * @param pInfo Opaque user data given during source creation, unused. 281 289 */ 282 static DECLCALLBACK(void)hbdMgrDAPerformWakeup(void *pInfo)283 { 284 return;290 static void hbdMgrDAPerformWakeup(void *pInfo) 291 { 292 RT_NOREF(pInfo); 285 293 } 286 294
Note:
See TracChangeset
for help on using the changeset viewer.