MCPcopy Create free account
hub / github.com/Apache553/SubtitleFontHelper / GetCommandLineVector

Function GetCommandLineVector

SubtitleFontAutoLoaderDaemon/Main.cpp:185–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 };
184
185 std::vector<std::wstring> GetCommandLineVector(const wchar_t* cmdline)
186 {
187 std::vector<std::wstring> ret;
188 int argc = 0;
189 wchar_t** argv = CommandLineToArgvW(cmdline, &argc);
190 for (int i = 0; i < argc; ++i)
191 {
192 ret.emplace_back(argv[i]);
193 }
194 return ret;
195 }
196}
197
198int __stdcall wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd)

Callers 1

wWinMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected