Should we continue to use the NDIS_STATUS data type to report the result of each connection offload attempt? There are two major downsides:
- If this project is undocked, it means we need to integrate any new failure statuses/reasons into both NDIS and NT header files.
- NDIS status types, in particular, require an egregious number of transformations to be reported to the standard user mode error type: NDIS_STATUS -> NTSTATUS -> WIN32 error -> HRESULT. There is bound to be loss of fidelity.
If we define our own failure reasons, it will simplify the end-to-end control path flow and perhaps simplify error-handling, too.
Should we continue to use the
NDIS_STATUSdata type to report the result of each connection offload attempt? There are two major downsides:If we define our own failure reasons, it will simplify the end-to-end control path flow and perhaps simplify error-handling, too.