diff --git a/src/inc/msquic_winuser.h b/src/inc/msquic_winuser.h index adc2f2292e..8157ecd6d1 100644 --- a/src/inc/msquic_winuser.h +++ b/src/inc/msquic_winuser.h @@ -99,6 +99,7 @@ #define QUIC_STATUS_INVALID_STATE E_NOT_VALID_STATE // 0x8007139f #define QUIC_STATUS_NOT_SUPPORTED E_NOINTERFACE // 0x80004002 #define QUIC_STATUS_NOT_FOUND HRESULT_FROM_WIN32(ERROR_NOT_FOUND) // 0x80070490 +#define QUIC_STATUS_FILE_NOT_FOUND HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) // 0x80070002 #define QUIC_STATUS_BUFFER_TOO_SMALL E_NOT_SUFFICIENT_BUFFER // 0x8007007a #define QUIC_STATUS_HANDSHAKE_FAILURE ERROR_QUIC_HANDSHAKE_FAILURE // 0x80410000 #define QUIC_STATUS_ABORTED E_ABORT // 0x80004004 diff --git a/src/platform/datapath_raw_xdp_win.c b/src/platform/datapath_raw_xdp_win.c index 5f091a60cc..17a4b622be 100644 --- a/src/platform/datapath_raw_xdp_win.c +++ b/src/platform/datapath_raw_xdp_win.c @@ -1058,7 +1058,7 @@ CxPlatDpRawInitialize( Status = CxPlatDpRawInterfaceInitialize( Xdp, Interface, ClientRecvContextLength); - if (Status == QUIC_STATUS_NOT_FOUND && CxPlatListIsEmpty(&Xdp->Interfaces)) { + if (Status == QUIC_STATUS_FILE_NOT_FOUND && CxPlatListIsEmpty(&Xdp->Interfaces)) { // // FILE_NOT_FOUND for the first interface means that XDP is not available on this system. //