OverlappedPool.findByOverlapped

OverlappedEntry * findByOverlapped(OVERLAPPED * overlappedPtr) @trusted nothrow @nogc

Find an entry by its OVERLAPPED pointer.

This is used to look up the entry when a completion is received.

Parameters

overlappedPtrPointer to the OVERLAPPED structure.

Returns

Pointer to the containing entry, or null if not found.