FCBToShort

FCBToShort(
 string_t p83Name,
 string_t pFCBName,
 int trailDot
 )
 

This service translates a name in unicode FCB-format to the unicode 8.3 format. If the FCB-format name has an extension, the 8.3-format name will have a dot character automatically inserted between the primary and extension components. If the FCB-format name does not have an extension, the 8.3-format name will only have a primary name. A trailing dot may still be inserted depending on the state of the trailDot flag. The source and destination buffers must be different for this service. The trailing dot capability is mostly used whenever a name that exists on the media as a short name only is being prepared for matching with LFN semantics.

p83Name
Supplies a flat pointer to the destination buffer to contain the 8.3-format output name. It must be at least 24 bytes in length.
pFCBName
Supplies a flat pointer to the source FCB-format name. This must be 22 bytes in length and in the proper FCB-format.
trailDot
Supplies a boolean flag which indicates whether a trailing dot is to be appended to the output name when there is no extension. If the flag is set (non-zero value), a trailing dot is appended to the primary name. If the flag is clear (value of 0), no trailing dot is appended to the primary name.