[Description] The name of the current source file. __FILE__ expands to a string surrounded by double quotation marks. You can create your own wide string version of __FILE__ as follows: Copy #include #define WIDEN2(x) L ## x #define WIDEN(x) WIDEN2(x) #define __WFILE__ WIDEN(__FILE__) wchar_t *pwsz = __WFILE__; int main() { } [Macro] 
__FILE__
_ _ D A T E _ _
_ _ F I L E _ _
_ _ L I N E _ _
_ _ S T D C _ _
_ _ T I M E _ _
_ _ T I M E S T A M P _ _