kLSItemInfoExtensionIsHidden bug?
kLSItemInfoExtensionIsHidden bug?
- Subject: kLSItemInfoExtensionIsHidden bug?
- From: Steve Gehrman <email@hidden>
- Date: Fri, 4 Apr 2003 04:44:50 -0800
A few of my customer are seeing a problem with
kLSItemInfoExtensionIsHidden attribute. For some reason, this will
return YES, when in fact the extension is not hidden. Also strange is
that if they toggle this attribute, it seems to get back in sync and it
will work.
Has anyone else seen this problem? Is there a work around?
Here's my code:
LSItemInfoRecord *itemInfoPtr = NSZoneCalloc(NULL, 1,
sizeof(LSItemInfoRecord));
status = LSCopyItemInfoForRef([self FSRefPtr],
(kLSRequestBasicFlagsOnly | kLSRequestExtensionFlagsOnly),
_itemInfoPtr);
isHidden = ((itemInfoPtr->flags & kLSItemInfoExtensionIsHidden) ==
kLSItemInfoExtensionIsHidden);
-steve
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.