FormatMessage - Placeholders highlighting


I have two questions related to format placeholders highlighting:

1) How can I make it work inside FormatMessage function?

2) Is it possible to make it work for custom functions? (with External Annotations or something like that)

Best Regards,
Miroslav Jelínek

1 comment
Comment actions Permalink


1) You can't, sorry. FormatMessage seems to have its own syntax and would require proper support. So far only two kinds of syntaxes are recognized - printf-like and boost::format.

2) Not yet. We might add a way to annotate that a function accepts printf-style arguments (please vote for - but it again won't work for FormatMessage, since it has a different syntax.

Thanks for the feedback!


Please sign in to leave a comment.