Re: Media Type of Shared Volume
Re: Media Type of Shared Volume
- Subject: Re: Media Type of Shared Volume
- From: Bob Cook <email@hidden>
- Date: Wed, 12 Feb 2003 19:57:46 -0800
On Tuesday, February 11, 2003, at 10:41 AM, Nikolay Iontchev wrote:
I would like to identify the media type of a mounted shared volume.
PBGetVolMountInfo returns information about such a volume.
VolMountInfoHeader has a VolumeType filled with AppleShareMediaType if
the
volume is Apple Share. I have found that if the volume is mounted
through
SMB/CIFS the returned media type is 'cifs'.
AppleShareMediaType is defined in Files.h but there is no clue about
'cifs'
type. My question is, does anyone know if Apple will support this
undocumented type in the future?
I was intrigued by this post, so I started poking around. The block of
data returned for 'cifs' type volumes looks pretty straightforward to
decode, however I'm also curious to know if Apple will publish the
structure like the AppleShare info. My application could benefit from
knowing the original SMB URL used for mounting, and I'd rather have a
supported and documented structure to work from.
Thanks,
Bob Cook
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.