MCPcopy Create free account
hub / github.com/ariccio/altWinDirStat / GetAppPath

Function GetAppPath

Reference code/osImageTool/Configuration.cpp:19–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#define NBxTYPENAME "XDA OS Image"
18
19char *GetAppPath()
20{
21 static char appname[1024];
22 if (!GetModuleFileName(NULL, appname, 1024))
23 {
24 g_err.Set(stringformat("unable to get modulename: %s", LastError().c_str()));
25 return NULL;
26 }
27
28 return appname;
29}
30
31Configuration::Configuration()
32{

Callers 2

ConfigurationMethod · 0.85
RegisterSelfMethod · 0.85

Calls 3

stringformatFunction · 0.85
LastErrorFunction · 0.85
SetMethod · 0.45

Tested by

no test coverage detected