MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / EnumResTypeProc

Function EnumResTypeProc

src/WriteZipToSetup/WriteZipToSetup.cpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28BOOL CALLBACK EnumResTypeProc(HMODULE hMod, LPTSTR lpszType, LONG_PTR lParam)
29{
30 std::vector<wchar_t*>* typeList = (std::vector<wchar_t*>*)lParam;
31 if (IS_INTRESOURCE(lpszType)) {
32 typeList->push_back(lpszType);
33 } else {
34 typeList->push_back(_wcsdup(lpszType));
35 }
36
37 return true;
38}
39
40int CopyResourcesToStubExecutable(wchar_t* src, wchar_t* dest)
41{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected