The following functions are general utility routines intended for dealing with bitmap files, but can be used with other file
types.
- BMMCreateNumberedFilename() - This appends a 4 digit frame number string to the end of the name passed.
- BMMGetFullFilename() - Searches the system for a bitmap.
- BMMIsFile() - Returns TRUE if the specified filename is indeed an existing file; otherwise FALSE.
- BMMSplitFilename() - Function will break the specified filename into path, file and extension components.
- BMMAppendSlash() - This function appends a slash character to the end of the path passed unless one already exists.
- BMMGetUniversalName() - Given a path (E:\path\filename.ext), the function will check and see if this drive is mapped to a network share. If successful, the full
UNC version will be returned
- BMMFindNetworkShare() - Given a path (E:\path\filename.ext) this function will check and see if this [local] path is shared. If successful, it will return both the
share name and the path of the share.
- BMMGetLocalShare() - This function will check local paths only and return a UNC version if a share exists somewhere up in the path hierarchy.
- BMMGetLastErrorText() - Whenever you call a Win32 function and there is an error, this method may be used to return the descriptive string associated
with the error.