Main Page
Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix · OSX ] Distribution Issues |
[ Windows | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Back to the top of SVolumes
Back to the top of SVolumes
ErrCode iSetVolumeLabel( const CStr *csDriveName, const CStr *newLabel );
Set the label of the given volume
static ErrCode iSetVolumeLabel( const CStr *csDriveName, const CStr *newLabel );
Back to the top of SVolumes
Calls the WinAPI routine GetVolumeInformation() This routine returns two strings and three DWORDs, the strings are placed into 'csOutVolName' and 'csFileSystemName', and the DWORDs are placed into the 'theIntsP' array. See the enum eGVI for the length and offsets of the values in this buffer.
static ErrCode iGetVolumeInformation( const CStr *csDriveName, CStr *csOutVolName, CStr *csFileSystemName, unsigned long *theIntsP );
Back to the top of SVolumes
ErrCode iGetVolumeCapInfo( const CStr *csDriveName, unsigned __int64 *cap );
Returns the free space and capacity of a volume
static ErrCode iGetVolumeCapInfo( const CStr *csDriveName, unsigned __int64 *cap );
Back to the top of SVolumes
ErrCode iGetVolumeDates( const CStr *csDriveName, CDateBundle *dateBundle );
Retrieves the three dates associated with a volume, and puts them in the given CDateBundle
static ErrCode iGetVolumeDates( const CStr *csDriveName, CDateBundle *dateBundle );
Back to the top of SVolumes
ErrCode iGetVolumeFlags( const CStr *csDriveName, long *flagsP );
Gets flags on a volume
static ErrCode iGetVolumeFlags( const CStr *csDriveName, long *flagsP );
Back to the top of SVolumes
ErrCode iGetVolumeReadFlagsMask( const CStr *csDriveName, long *maskP );
Same
static ErrCode iGetVolumeReadFlagsMask( const CStr *csDriveName, long *maskP );
Back to the top of SVolumes
ErrCode iGetDriveDisplayName( const CStr *csDriveName, CStr *displayName );
Returns the display name of the volume.
static ErrCode iGetDriveDisplayName( const CStr *csDriveName, CStr *displayName );
Back to the top of SVolumes
ErrCode iGetVolumes( long maxToReturn, CStringVector *retStringTable );
Sets a string vector with a list of the mounted volumes.
static ErrCode iGetVolumes( long maxToReturn, CStringVector *retStringTable );
Back to the top of SVolumes
The length of the buffer passed to iGetVolumeCapInfo, and the offset in this buffer of the system-wide capacity, system-wide free space, current-user-specific capacity, and current-user-specific free space
enum { kVolumeCapInfoLen = 4, kVolumeCapInfoCapacityOffset = 0, kVolumeCapInfoFreeSpaceOffset = 1, kVolumeCapInfoCapacityToUserOffset = 2, kVolumeCapInfoFreeSpaceToUserOffset = 3 } eVolumeCapInfo;
Back to the top of SVolumes
The length of the long buffers passed to iGetVolumeInformation, and the offsets in this buffer of the values returned from this routine.
enum { kGVIIntArrayLen = 3, kGVIIntSerialNumberOffset = 0, kGVIIntMaxComponentLengthOffset = 1, kGVIIntFileSystemFlagsOffset = 2 } eGVI;
Back to the top of SVolumes
Flags returned from iGetVolumeFlags
enum { kVolumeFlagCaseIsPreserved = 0x01, kVolumeFlagCaseSensitive = 0x02, kVolumeFlagUnicodeSupported = 0x04, kVolumeFlagFilesCompressed = 0x08, kVolumeFlagVolumeCompressed = 0x10, kVolumeFlagRemovable = 0x20, kVolumeFlagFixed = 0x40, kVolumeFlagRemote = 0x80, kVolumeFlagCDROM = 0x100, kVolumeFlagRAM = 0x200, kVolumeFlagSystem = 0x400, kVolumeFlagSupportedFlags = ( kVolumeFlagCaseIsPreserved | kVolumeFlagCaseSensitive | kVolumeFlagUnicodeSupported | kVolumeFlagFilesCompressed | kVolumeFlagVolumeCompressed | kVolumeFlagRemovable | kVolumeFlagFixed | kVolumeFlagRemote | kVolumeFlagCDROM | kVolumeFlagRAM | kVolumeFlagSystem ) } eDiskVolumeFlags;
Back to the top of SVolumes
Back to the top of SVolumes
Back to the top of SVolumes
Back to the top of SVolumes
Report problems to jkotula@stratasys.com