| To: | REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Carbonlib Newbie |
| From: | Cédric Luthi <cluthi at isuisse dot com> |
| Date: | Thu, 6 Dec 2001 00:29:03 +0100 |
I am using the function "PBUnmountVol" (Eject volume) in Carbonlib and I am not sure how I am supposed to use it or set it up. I have the following line: Declare Function PBUnmountVol Lib "InterfaceLib" (paramBlock as Ptr) as Short but what is the ParamBlock suppose to contain and how is it created? Maybe an example would be nice! ANY help would be GREATLY appreciated! First of all, you should declare CarbonLib and not InterfaceLib,
then, have a look here:
http://developer.apple.com/techpubs/mac/Files/Files-172.html
You should find the needed information about this call.
-- Cédric Luthi
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | A Retort (was Re: blackening the screen), Des Courtney |
|---|---|
| Next by Date: | Re: A Retort (was Re: blackening the screen), Theo |
| Previous by Thread: | Re: Carbonlib Newbie, Dennis Birch |
| Next by Thread: | extreme font sizes, Charles Yeomans |
| Indexes: | [Date] [Thread] [Top] [All Lists] |