Re: DADiskMount usage

2009-11-29 Thread Francis Devereux
On 29 Nov 2009, at 11:12, Zephyroth Akash wrote: > Hi, > > I need some help to understand what the user-defined context is. The context is simply a value that will be passed to your callback function (mountApprovalCallback() in the code you posted). You can just pass nil (which will cause nil

DADiskMount usage

2009-11-29 Thread Zephyroth Akash
Hi, I need some help to understand what the user-defined context is. Here's the code actually: - (void)mountPartition:(char *)diskName atPath:(NSString *)path { DASessionRef session = NULL; DADiskRefdisk = NULL; CFURLRef url = NULL;