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

Method Remove

BeefySysLib/platform/win/Platform.cpp:803–821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801 }
802
803 void Remove(BfpOverlapped* bfpOverlapped)
804 {
805 /*if (mShuttingDown)
806 {
807 Kill(fileWatcher);
808 return;
809 } */
810
811 //QueueRemove(fileWatcher);
812
813 //OutputDebugStrF("IOCP.Remove %@\n", fileWatcher);
814
815 AutoCrit autoCrit(mCritSect);
816 auto handle = bfpOverlapped->mHandle;
817 bfpOverlapped->mHandle = NULL;
818 BF_FULL_MEMORY_FENCE();
819 ::CloseHandle(handle);
820 ::PostQueuedCompletionStatus(mIOCompletionPort, 0, (ULONG_PTR)bfpOverlapped | 1, NULL);
821 }
822
823 void WorkerProc()
824 {

Callers 6

RemoveMenuItemMethod · 0.45
~DXTextureMethod · 0.45
BfpFileWatcher_ReleaseFunction · 0.45
BfpFile_GetActualPathFunction · 0.45
ImageHelpWalkFunction · 0.45
TryCloseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected