MCPcopy Create free account
hub / github.com/Scobalula/Greyhound / Load

Method Load

src/External/CascLib/src/CascRootFile_MNDX.cpp:2934–2948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2932 }
2933
2934 DWORD Load(TCascStorage * hs, const FILE_MNDX_HEADER & MndxHeader, LPBYTE pbRootFile, LPBYTE pbRootEnd)
2935 {
2936 TMndxHandler Handler;
2937 DWORD dwErrCode;
2938
2939 // Load and parse the entire MNDX structure
2940 dwErrCode = Handler.Load(MndxHeader, pbRootFile, pbRootEnd);
2941 if(dwErrCode == ERROR_SUCCESS)
2942 {
2943 // Search all file names and insert them into the file tree
2944 dwErrCode = Handler.LoadFileNames(hs, FileTree);
2945 }
2946
2947 return dwErrCode;
2948 }
2949};
2950
2951//-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

LoadFileNamesMethod · 0.80
LoadMethod · 0.45

Tested by

no test coverage detected