MCPcopy Create free account
hub / github.com/beefytech/Beef / BfpFile_Release

Function BfpFile_Release

BeefySysLib/platform/win/Platform.cpp:3087–3093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3085}
3086
3087BFP_EXPORT void BFP_CALLTYPE BfpFile_Release(BfpFile* file)
3088{
3089 if ((file->mHandle != INVALID_HANDLE_VALUE) && (!file->mIsStd))
3090 ::CloseHandle(file->mHandle);
3091
3092 delete file;
3093}
3094
3095BFP_EXPORT void BFP_CALLTYPE BfpFile_Close(BfpFile* file, BfpFileResult* outResult)
3096{

Callers 6

~SysFileStreamMethod · 0.50
CloseMethod · 0.50
~CeInternalDataMethod · 0.50
DoBfLogMethod · 0.50
Test_FinishMethod · 0.50

Calls

no outgoing calls

Tested by 1

Test_FinishMethod · 0.40