/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS NDIS library * FILE: ndis/40stubs.c * PURPOSE: NDIS 4.0 stubs * PROGRAMMERS: Casper S. Hornstrup (chorns@users.sourceforge.net) * REVISIONS: * CSH 01/08-2000 Created */ #include "ndissys.h" /* * @unimplemented */ VOID EXPORT NdisCompleteCloseAdapter( IN NDIS_HANDLE NdisBindingContext, IN NDIS_STATUS Status) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { UNIMPLEMENTED; } /* * @unimplemented */ VOID EXPORT NdisCompleteOpenAdapter( IN NDIS_HANDLE NdisBindingContext, IN NDIS_STATUS Status, IN NDIS_STATUS OpenErrorStatus) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { UNIMPLEMENTED; } /* * @unimplemented */ NDIS_STATUS EXPORT NdisDeregisterAdapter( IN NDIS_HANDLE NdisAdapterHandle) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { UNIMPLEMENTED; return NDIS_STATUS_FAILURE; } /* * @unimplemented */ VOID EXPORT NdisDeregisterMac( OUT PNDIS_STATUS Status, IN NDIS_HANDLE NdisMacHandle) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { UNIMPLEMENTED; } /* * @unimplemented */ NDIS_STATUS EXPORT NdisIMQueueMiniportCallback( IN NDIS_HANDLE MiniportAdapterHandle, IN W_MINIPORT_CALLBACK CallbackRoutine, IN PVOID CallbackContext) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { UNIMPLEMENTED; return NDIS_STATUS_FAILURE; } /* * @unimplemented */ VOID EXPORT NdisIMRevertBack( IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE SwitchHandle) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { UNIMPLEMENTED; } /* * @unimplemented */ BOOLEAN EXPORT NdisIMSwitchToMiniport( IN NDIS_HANDLE MiniportAdapterHandle, OUT PNDIS_HANDLE SwitchHandle) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { UNIMPLEMENTED; return FALSE; } /* * @unimplemented */ NDIS_STATUS EXPORT NdisQueryReceiveInformation( IN NDIS_HANDLE NdisBindingHandle, IN NDIS_HANDLE MacContext, OUT PLONGLONG TimeSent OPTIONAL, OUT PLONGLONG TimeReceived OPTIONAL, IN PUCHAR Buffer, IN UINT BufferSize, OUT PUINT SizeNeeded) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { UNIMPLEMENTED; return NDIS_STATUS_FAILURE; } /* * @unimplemented */ VOID EXPORT NdisReadMcaPosInformation( OUT PNDIS_STATUS Status, IN NDIS_HANDLE WrapperConfigurationContext, IN PUINT ChannelNumber, OUT PNDIS_MCA_POS_DATA McaData) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { UNIMPLEMENTED; } /* * @unimplemented */ NDIS_STATUS EXPORT NdisRegisterAdapter( OUT PNDIS_HANDLE NdisAdapterHandle, IN NDIS_HANDLE NdisMacHandle, IN NDIS_HANDLE MacAdapterContext, IN NDIS_HANDLE WrapperConfigurationContext, IN PNDIS_STRING AdapterName, IN PVOID AdapterInformation) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { UNIMPLEMENTED; return NDIS_STATUS_FAILURE; } /* * @unimplemented */ VOID EXPORT NdisReleaseAdapterResources( IN NDIS_HANDLE NdisAdapterHandle) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { UNIMPLEMENTED; } /* * @implemented */ #undef NdisUpdateSharedMemory VOID EXPORT NdisUpdateSharedMemory( IN NDIS_HANDLE NdisAdapterHandle, IN ULONG Length, IN PVOID VirtualAddress, IN NDIS_PHYSICAL_ADDRESS PhysicalAddress) /* * FUNCTION: * ARGUMENTS: * NOTES: * NDIS 4.0 */ { /* No-op. */ } /* * @unimplemented */ VOID EXPORT NdisImmediateReadSharedMemory( IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SharedMemoryAddress, OUT PUCHAR Buffer, IN ULONG Length) { UNIMPLEMENTED; } /* * @unimplemented */ VOID EXPORT NdisImmediateWriteSharedMemory( IN NDIS_HANDLE WrapperConfigurationContext, IN ULONG SharedMemoryAddress, IN PUCHAR Buffer, IN ULONG Length) { UNIMPLEMENTED; } /* * @unimplemented */ VOID EXPORT NdisReadEisaSlotInformationEx( OUT PNDIS_STATUS Status, IN NDIS_HANDLE WrapperConfigurationContext, OUT PUINT SlotNumber, OUT PNDIS_EISA_FUNCTION_INFORMATION *EisaData, OUT PUINT NumberOfFunctions) { UNIMPLEMENTED; } /* EOF */