MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Samples / GetAppPath

Function GetAppPath

SampleApps/WebView2APISample/AppStartPage.cpp:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67std::wstring GetAppPath()
68{
69 wchar_t appPath[MAX_PATH];
70 GetModuleFileName(nullptr, appPath, ARRAYSIZE(appPath));
71 return ResolvePathAndTrimFile(appPath);
72}
73
74std::wstring GetRuntimePath(AppWindow* appWindow)
75{

Callers 3

GetUriFunction · 0.85
GetStartPageUriMethod · 0.85
GetStartPageUriMethod · 0.85

Calls 1

ResolvePathAndTrimFileFunction · 0.85

Tested by

no test coverage detected