MCPcopy Create free account
hub / github.com/diasurgical/devilution / WOpenFile

Function WOpenFile

Source/wave.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21BOOL WOpenFile(const char *FileName, HANDLE *phsFile, BOOL mayNotExist)
22{
23 if (!SFileOpenFile(FileName, phsFile))
24 FileErrDlg(FileName);
25
26 return TRUE;
27}
28
29void WReadFile(HANDLE hsFile, LPVOID buf, DWORD to_read, const char *FileName)
30{

Callers 5

sound_file_loadFunction · 0.85
GetPlrGFXSizeFunction · 0.85
LoadFileInMemFunction · 0.85
LoadFileWithMemFunction · 0.85
LoadPaletteFunction · 0.85

Calls 2

SFileOpenFileFunction · 0.85
FileErrDlgFunction · 0.85

Tested by

no test coverage detected