VSG_DEFAULT_RUN_FILENAME
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at VSG_DEFAULT_RUN_FILENAME.
Defines the default file name of the graphics log file.
#define VSG_DEFAULT_FILENAME filename
Parameters
filename
The file name given by default to the graphics log file when graphics information is captured programmatically.
A string literal that represents the file name of the graphics log file. By default, L"default.vsglog".
#define VSG_DEFAULT_FILENAME L"default.vsglog"
If the preprocessor symbol DONT_SAVE_VSGLOG_TO_TEMP is defined, then the file name is relative to the current directory of the captured app, or is an absolute path; otherwise, it's relative to the user's temporary files directory and can't be an absolute path.
To change the defined file name, you must redefine it before you include vsgcapture.h in your program.
This example shows how to change the capture file's default file name:
// Redefine the default capture filename before including vsgcapture.h #define VSG_DEFAULT_FILENAME L"capture.vsglog" #include <vsgcapture.h>