JCL Help:OSFileTypeToString

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Maps a file type identifier to a string.


Pascal

 function OSFileTypeToString(const OSFileType: DWORD; const OSFileSubType: DWORD = 0): string;


Parameters

Parameters Description
const OSFileType: DWORD File type identifier. You can use a value returned by TJclFileVersionInfo.FileType member.
const OSFileSubType: DWORD = 0 File subtype identifier. You can use a value returned by TJclFileVersionInfo.FileSubType member. Can be omitted. Default value is 0.


Return Value

If there is no an appropriate value for FileType passed the function returns an empty string.


Description

Maps a file type as returned by TJclFileVersionInfo.FileType and TJclFileVersionInfo.FileSubType identifier to its string representation.


About

Unit

JclFileUtils


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page