mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
[DDK] Fix wsk.h header (#5544)
Some datagram related dispatcher function types (like PFN_WSK_SEND_TO) were used before they were declared. This patch moves the use after the definition.
This commit is contained in:
parent
0aa2e82c06
commit
984284c436
1 changed files with 17 additions and 17 deletions
|
@ -284,23 +284,6 @@ NTSTATUS
|
|||
_Inout_ PIRP Irp);
|
||||
#endif /* (NTDDI_VERSION >= NTDDI_WIN8) */
|
||||
|
||||
typedef struct _WSK_PROVIDER_DATAGRAM_DISPATCH
|
||||
{
|
||||
#ifdef __cplusplus
|
||||
WSK_PROVIDER_BASIC_DISPATCH Basic;
|
||||
#else
|
||||
WSK_PROVIDER_BASIC_DISPATCH;
|
||||
#endif
|
||||
PFN_WSK_BIND WskBind;
|
||||
PFN_WSK_SEND_TO WskSendTo;
|
||||
PFN_WSK_RECEIVE_FROM WskReceiveFrom;
|
||||
PFN_WSK_RELEASE_DATAGRAM_INDICATION_LIST WskRelease;
|
||||
PFN_WSK_GET_LOCAL_ADDRESS WskGetLocalAddress;
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN8)
|
||||
PFN_WSK_SEND_MESSAGES WskSendMessages;
|
||||
#endif
|
||||
} WSK_PROVIDER_DATAGRAM_DISPATCH, *PWSK_PROVIDER_DATAGRAM_DISPATCH;
|
||||
|
||||
typedef
|
||||
NTSTATUS
|
||||
(WSKAPI * PFN_WSK_CONNECT) (
|
||||
|
@ -507,6 +490,23 @@ NTSTATUS
|
|||
_In_ PWSK_SOCKET Socket,
|
||||
_In_ PWSK_DATAGRAM_INDICATION DatagramIndication);
|
||||
|
||||
typedef struct _WSK_PROVIDER_DATAGRAM_DISPATCH
|
||||
{
|
||||
#ifdef __cplusplus
|
||||
WSK_PROVIDER_BASIC_DISPATCH Basic;
|
||||
#else
|
||||
WSK_PROVIDER_BASIC_DISPATCH;
|
||||
#endif
|
||||
PFN_WSK_BIND WskBind;
|
||||
PFN_WSK_SEND_TO WskSendTo;
|
||||
PFN_WSK_RECEIVE_FROM WskReceiveFrom;
|
||||
PFN_WSK_RELEASE_DATAGRAM_INDICATION_LIST WskRelease;
|
||||
PFN_WSK_GET_LOCAL_ADDRESS WskGetLocalAddress;
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN8)
|
||||
PFN_WSK_SEND_MESSAGES WskSendMessages;
|
||||
#endif
|
||||
} WSK_PROVIDER_DATAGRAM_DISPATCH, *PWSK_PROVIDER_DATAGRAM_DISPATCH;
|
||||
|
||||
typedef
|
||||
NTSTATUS
|
||||
(WSKAPI * PFN_WSK_CLIENT_EVENT)(
|
||||
|
|
Loading…
Reference in a new issue