|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 18/21] vif: fix the annotation of typedef XENVIF_VIF_CALLBACK
VifMac() can call Context->Callback with Parameters set to Null so
Parameters should be annotated as _In_opt_ in XENVIF_VIF_CALLBACK typedef.
Signed-off-by: Césaire Mounah <cesaire.mounah@xxxxxxxxxx>
---
include/vif_interface.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/vif_interface.h b/include/vif_interface.h
index 05d472e..cc2f626 100644
--- a/include/vif_interface.h
+++ b/include/vif_interface.h
@@ -499,9 +499,9 @@ typedef union _XENVIF_VIF_CALLBACK_PARAMETERS_V10
XENVIF_VIF_CALLBACK_PARAMETERS
*/
typedef VOID
(*XENVIF_VIF_CALLBACK)(
- _In_opt_ PVOID Argument,
- _In_ XENVIF_VIF_CALLBACK_TYPE Type,
- _In_ PXENVIF_VIF_CALLBACK_PARAMETERS Parameters
+ _In_opt_ PVOID Argument,
+ _In_ XENVIF_VIF_CALLBACK_TYPE Type,
+ _In_opt_ PXENVIF_VIF_CALLBACK_PARAMETERS Parameters
);
typedef NTSTATUS
--
2.55.0.windows.5
--
Césaire Mounah | Vates Windows Guest Tools Engineer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |