Skip to content

Commit

Permalink
define QUIC_STATUS_FILE_NOT_FOUND
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-GS committed Nov 22, 2024
1 parent e679cb9 commit 92f67bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/inc/msquic_winuser.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/platform/datapath_raw_xdp_win.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down

0 comments on commit 92f67bc

Please sign in to comment.