Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

While We're Focused On Launching Applications...



Can anyone provide info on what is ACTUALLY expected in the member 'passThruParams' in the LSLaunchLSRefSpec structure that is passed to the LaunchServices function 'LSOpenFromRefSpec'? ... as in ...

----------------------------------------
LSLaunchFSRefSpec lsSpec;
lsSpec.appRef = &appFSRef;
lsSpec.numDocs = NULL;
lsSpec.itemRefs = NULL;
lsSpec.passThruParams = (AEDesc*) <??? What goes here ???>;
lsSpec.launchFlags = (kLSLaunchDontAddToRecents);
lsSpec.asyncRefCon = NULL;

stat = LSOpenFromRefSpec(&lsSpec, &theFSRef);
-----------------------------------------

Passing a pointer to an AEDesc of, for instance, typeChar does not work nor does passing a coerced to AppParameters AppleEvent which would enclose an AEDesc as sometimes suggested for use with the LaunchApplication call.

Thanks!

Lance Drake
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.