ft_notsupported
Moderators: Hacker, petermad, Stefan2, white
ft_notsupported
I just saw this constant value in the contentplug.h page of the plugin docu. The search in the help lists it only there but it's not explained where and how to use this flag. Any idea?
The comments in the same H file tell:
I suppose, this value is reserved for a situation when TC (by mistake) asks the plugin to retrieve a field having no meaning for the particular file. Or something like that.// for ContentGetValue
...
#define ft_notsupported -5 // function not supported
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
2Flint
Well of course the I read the comment in the header but that doesn't explain anything.
Well of course the I read the comment in the header but that doesn't explain anything.
For this case ft_nosuchfield should be used.I suppose, this value is reserved for a situation when TC (by mistake) asks the plugin to retrieve a field having no meaning for the particular file. Or something like that.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
ft_notsupported should be returned for example by ContentSetValue if the function doesn't support the change of that specific field for that file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com