NDIS_DECLARE_SWITCH_NET_BUFFER_LIST_CONTEXT_TYPE macro (ndis.h)
Hyper-V extensible switch extensions use the NDIS_DECLARE_SWITCH_NET_BUFFER_LIST_CONTEXT_TYPE macro to define the context type that is used by the SetNetBufferListSwitchContext and GetNetBufferListSwitchContext functions to attach and retrieve context from a NET_BUFFER_LIST structure. Extensions can define as many context types as they want within their driver.
Syntax
void NDIS_DECLARE_SWITCH_NET_BUFFER_LIST_CONTEXT_TYPE(
_ContextName,
_ExtensionId
);
Parameters
_ContextName
An identifier for the context type.
_ExtensionId
A GUID that matches the extension ID.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.30 and later. |
Target Platform | Desktop |
Header | ndis.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for