Re: Undocumented flags in LSCopyItemInfoForRef
Re: Undocumented flags in LSCopyItemInfoForRef
- Subject: Re: Undocumented flags in LSCopyItemInfoForRef
- From: Jean-Daniel Dupas <email@hidden>
- Date: Fri, 10 Apr 2009 10:25:36 +0200
Le 10 avr. 09 à 10:13, Gerriet M. Denkmann a écrit :
On 10 Apr 2009, at 14:10, Jean-Daniel Dupas wrote:
Le 10 avr. 09 à 07:06, Gerriet M. Denkmann a écrit :
LSItemInfoFlags, returned by LSCopyItemInfoForRef() when the
queried item is an application, contains several undocumented
flags (i.e. flags which are NOT documented in LSInfo.h nor in the
Launch Services Reference).
E.g. iTunes.app has (among well documented flags) also: 0x6804000.
Where can I find the meaning of these flags?
10.5.6; Documentation updated on 19.3.2009.
If they are not documented (neither in the doc, nor in headers),
they are not part of the public interface.
Here some info for people interested in forbidden fruits:
0x00002000 single-file app
0x00004000 packaged app
0x00080000 is document of some app
0x02000000 ppc
0x04000000 i386
0x08000000 ppc64
0x10000000 x86_64
If someone has any ideas about these LSItemInfoFlags, I would
appreciate it very much:
0x00200000 ?
0x00400000 ?
0x00800000 ?
lsregister -dump give a list of all registred applications with
corresponding flags (lsregister is a tool in the LaunchServices
Framework).
Maybe it may help you.
Some flags you do not list, but that are present in a ls register dump:
apple-internal, relative-icon-path, scriptable, launch-disabled,
handles-file-url, services, requires-native, can-set-extension-hidden,
display-name, ui-element , trash, unsupported-format, …
Good luck.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden