From 2b4f936addfdd6174c67cf2f3b122193d92d388e Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Fri, 14 Mar 2003 23:37:26 +0000 Subject: [PATCH] Hack stub for NdisWriteErrorLogEntry so VMware network driver fails with some grace. =/ svn path=/trunk/; revision=4303 --- reactos/drivers/net/ndis/ndis.def | 2 +- reactos/drivers/net/ndis/ndis.edf | 2 +- reactos/drivers/net/ndis/ndis/stubs.c | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/reactos/drivers/net/ndis/ndis.def b/reactos/drivers/net/ndis/ndis.def index f2dbdadfd0b..28373c0e221 100644 --- a/reactos/drivers/net/ndis/ndis.def +++ b/reactos/drivers/net/ndis/ndis.def @@ -296,7 +296,7 @@ NdisUpcaseUnicodeString@8 NdisUpdateSharedMemory@20 NdisWaitEvent@8 NdisWriteConfiguration@16 -;NdisWriteErrorLogEntry ? +NdisWriteErrorLogEntry@16 NdisWriteEventLogEntry@28 NdisWritePciSlotInformation@20 NdisWritePcmciaAttributeMemory@16 diff --git a/reactos/drivers/net/ndis/ndis.edf b/reactos/drivers/net/ndis/ndis.edf index 11ee1f9f537..c89a0250063 100644 --- a/reactos/drivers/net/ndis/ndis.edf +++ b/reactos/drivers/net/ndis/ndis.edf @@ -296,7 +296,7 @@ NdisUpcaseUnicodeString=NdisUpcaseUnicodeString@8 NdisUpdateSharedMemory=NdisUpdateSharedMemory@20 NdisWaitEvent=NdisWaitEvent@8 NdisWriteConfiguration=NdisWriteConfiguration@16 -;NdisWriteErrorLogEntry ? +NdisWriteErrorLogEntry=NdisWriteErrorLogEntry@16 NdisWriteEventLogEntry=NdisWriteEventLogEntry@28 NdisWritePciSlotInformation=NdisWritePciSlotInformation@20 NdisWritePcmciaAttributeMemory=NdisWritePcmciaAttributeMemory@16 diff --git a/reactos/drivers/net/ndis/ndis/stubs.c b/reactos/drivers/net/ndis/ndis/stubs.c index 76c2eb2cef1..1360d9e01eb 100644 --- a/reactos/drivers/net/ndis/ndis/stubs.c +++ b/reactos/drivers/net/ndis/ndis/stubs.c @@ -153,7 +153,10 @@ NdisWriteErrorLogEntry( IN NDIS_HANDLE NdisAdapterHandle, IN NDIS_ERROR_CODE ErrorCode, IN ULONG NumberOfErrorValues, - /* IN ULONG */ ...) + IN ULONG ERROR_LOG_MAXIMUM_SIZE) +/* IN ULONG ...) + * ERROR_LOG_MAXIMUM_SIZE = ... in MSDN + */ { UNIMPLEMENTED }