Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion network/config/bindview/BINDVIEW.CPP
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,7 @@ VOID ShowBindingPathMenu (HWND hwndOwner,
// lpdwItemType [out] Type, binding path or network component.
// fEnabled [out] TRUE if the binding path or component is enabled.
//
// Returns: TRUE on sucess.
// Returns: TRUE on success.
//
// Notes:
//
Expand Down
4 changes: 2 additions & 2 deletions network/modem/fakemodem/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Module Name:

This is a simple form of function driver for fakemodem device. The driver
doesn't handle any PnP and Power events because the framework provides
default behaviour for those events. This driver has enough support to
allow an user application (toast/notify.exe) to open the device
default behavior for those events. This driver has enough support to
allow a user application (toast/notify.exe) to open the device
interface registered by the driver and send read, write or ioctl requests.

Environment:
Expand Down
2 changes: 1 addition & 1 deletion network/modem/fakemodem/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ Return Value:
case IOCTL_SERIAL_SET_HANDFLOW:
case IOCTL_SERIAL_RESET_DEVICE: {
//
// NOTE: The application expects STATUS_SUCCESS for these ioctsl.
// NOTE: The application expects STATUS_SUCCESS for these ioctls.
// so don't merge this with default.
//
break;
Expand Down
18 changes: 9 additions & 9 deletions network/modem/fakemodem/readwrit.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Copyright (c) Microsoft Corporation. All rights reserved.

Module Name:

ioctl.c
readwrit.c

Abstract:

This is a simple form of function driver for Fm device. The driver
doesn't handle any PnP and Power events because the framework provides
default behaviour for those events. This driver has enough support to
allow an user application (toast/notify.exe) to open the device
default behavior for those events. This driver has enough support to
allow a user application (toast/notify.exe) to open the device
interface registered by the driver and send read, write or ioctl requests.

Environment:
Expand Down Expand Up @@ -49,8 +49,8 @@ Routine Description:

Length - Length of the IO operation
The default property of the queue is to not dispatch
zero lenght read & write requests to the driver and
complete is with status success. So we will never get
zero length read & write requests to the driver and
complete it with status success. So we will never get
a zero length request.

Return Value:
Expand Down Expand Up @@ -117,8 +117,8 @@ Routine Description:

Length - Length of the IO operation
The default property of the queue is to not dispatch
zero lenght read & write requests to the driver and
complete is with status success. So we will never get
zero length read & write requests to the driver and
complete it with status success. So we will never get
a zero length request.

Return Value:
Expand Down Expand Up @@ -193,8 +193,8 @@ Routine Description:

Length - Length of the IO operation
The default property of the queue is to not dispatch
zero lenght read & write requests to the driver and
complete is with status success. So we will never get
zero length read & write requests to the driver and
complete it with status success. So we will never get
a zero length request.

Return Value:
Expand Down
26 changes: 17 additions & 9 deletions network/ndis/extension/base/SxApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ SxExtInitialize

Routine Description:
This function is called from the SxBase Library during DriverEntry.
An extension should allocate/initalize all global data in this function.
An extension should allocate/initialize all global data in this function.

Arguments:
NULL
Expand Down Expand Up @@ -410,7 +410,7 @@ SxExtDeleteNic

Routine Description:
This function is called to delete a NIC from a switch.
No futher traffic/control will be recieved for this NIC.
No further traffic/control will be received for this NIC.

Arguments:
Switch - the Switch context
Expand Down Expand Up @@ -438,7 +438,7 @@ SxExtTeardownPort

Routine Description:
This function is called to start deletion of a port on a switch.
Upon recieving this call, no further references may be taken
Upon receiving this call, no further references may be taken
on the given port.

Arguments:
Expand Down Expand Up @@ -467,7 +467,7 @@ SxExtDeletePort

Routine Description:
This function is called to finish deletion of a port on a switch.
Upon recieving this call, no traffic/control will be recieved
Upon receiving this call, no traffic/control will be received
for this port.

Arguments:
Expand Down Expand Up @@ -825,7 +825,7 @@ Routine Description:
ExtensionContext - The extension context allocated in SxExtCreateSwitch
for the switch

SwitchProperty - the property to be deleted
PortProperty - the property to be deleted

Return Value:
TRUE - if the policy is not consumed by this extension
Expand Down Expand Up @@ -918,7 +918,7 @@ SxExtQueryPortFeatureStatus(
SxExtProcessNicRequest

Routine Description:
This function is called upon the reciept of an OID_SWITCH_NIC_REQUEST
This function is called upon the receipt of an OID_SWITCH_NIC_REQUEST
to the extension.
If an extension wishes to redirect the OID, it must return a valid
DestinationPortId and DestinationNicIndex, which it has taken a
Expand Down Expand Up @@ -982,7 +982,15 @@ Routine Description:
ExtensionContext - The extension context allocated in SxExtCreateSwitch
for the switch

NicOidRequest - the OID buffer, encapsulated with source/destination info
OidRequest - the OID buffer, encapsulated with source/destination info

SourcePortId - the source PortId of the OID completion

SourceNicIndex - the source NicIndex of the OID completion

DestinationPortId - the destination PortId of the OID completion

DestinationNicIndex - the destination NicIndex of the OID completion

Status - the status the OID completed with

Expand All @@ -1008,12 +1016,12 @@ SxExtProcessNicRequestComplete(
SxExtProcessNicStatus

Routine Description:
This function is called upon the reciept of an NDIS_STATUS_SWITCH_NIC_STATUS
This function is called upon the receipt of an NDIS_STATUS_SWITCH_NIC_STATUS
to the extension.
If the extension wishes to modify the status indication, it should
send its own status indication using NdisFIndicateStatus and return a
failure status.
If the extension wishes to drop the status indiction, it should return
If the extension wishes to drop the status indication, it should return
failure status, though this should be done very sparingly and carefully.

!! This function should only be used by forwarding extensions. !!
Expand Down
2 changes: 1 addition & 1 deletion network/ndis/extension/base/SxBase.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ SxNdisDetach(
ExFreePool(switchObject);

//
// Alway return success.
// Always return success.
//
DEBUGP(DL_TRACE, ("<===SxDetach Successfully\n"));

Expand Down
2 changes: 1 addition & 1 deletion network/ndis/extension/base/SxBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) Microsoft Corporation. All Rights Reserved.

Module Name:

SxBase.c
SxBase.h

Abstract:

Expand Down
22 changes: 10 additions & 12 deletions network/ndis/extension/base/SxLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Routine Description:
This function is called to forward NBLs on ingress.
The extension MUST call this function, or call
SxLibCompleteNetBufferListsIngress for every NBL in NetBufferLists,
recieved in SxExtStartNetBufferListsIngress.
received in SxExtStartNetBufferListsIngress.

This function can also be called to inject NBLs.
If there are NBLs in NetBufferLists that are initiated by the
Expand Down Expand Up @@ -62,7 +62,7 @@ Routine Description:
This function is called to forward NBLs on egress.
The extension MUST call this function, or call
SxLibCompleteNetBufferListsEgress for every NBL in NetBufferLists
recieved in SxExtStartNetBufferListsEgress.
received in SxExtStartNetBufferListsEgress.

Arguments:

Expand Down Expand Up @@ -94,7 +94,7 @@ SxLibCompleteNetBufferListsEgress

Routine Description:
This function is called to complete NBLs on egress.
The extension MUST call this function for all NBLs recieved
The extension MUST call this function for all NBLs received
in SxExtStartCompleteNetBufferListsEgress.

Arguments:
Expand Down Expand Up @@ -124,7 +124,7 @@ SxLibCompleteNetBufferListsIngress
Routine Description:
This function is called to complete NBLs on ingress.
The extension MUST call this function, or
SxLibCompletedInjectedNetBufferLists for all NBLs recieved in
SxLibCompletedInjectedNetBufferLists for all NBLs received in
SxExtStartCompleteNetBufferListsEgress.

Arguments:
Expand Down Expand Up @@ -190,7 +190,7 @@ Routine Description:

Arguments:

Switch - pointer to our switch object.
SxSwitch - pointer to our switch object.

RequestType - NdisRequest[Set|Query|method]Information.

Expand Down Expand Up @@ -261,7 +261,7 @@ Routine Description:
This function is called to get the current array
of ports.

NOTE: It is necessary to synchonize this with SxExtPortCreate
NOTE: It is necessary to synchronize this with SxExtPortCreate
and SxExtPortTeardown.

Arguments:
Expand Down Expand Up @@ -292,12 +292,12 @@ Routine Description:
This function is called to get the current array
of NICs.

NOTE: It is necessary to synchonize this with SxExtNicConnect
NOTE: It is necessary to synchronize this with SxExtNicConnect
and SxExtNicDisconnect.

Arguments:

Switch - the Switch context
SxSwitch - the Switch context

NicArray - the returned NIC array

Expand All @@ -322,7 +322,7 @@ Routine Description:
This function is called to get the current array of the switch
property queried.

NOTE: It is necessary to synchonize this with SxExtAddSwitchProperty
NOTE: It is necessary to synchronize this with SxExtAddSwitchProperty
and SxExtDeleteSwitchProperty.

Arguments:
Expand All @@ -333,8 +333,6 @@ Routine Description:

PropertyId - the GUID of the property (from mof file)

PropertyVersion - the version of the property

SwitchPropertyEnumParameters - the returned property enum

Return Value:
Expand All @@ -360,7 +358,7 @@ Routine Description:
This function is called to get the current array of the switch
property queried.

NOTE: It is necessary to synchonize this with SxExtAddPortProperty
NOTE: It is necessary to synchronize this with SxExtAddPortProperty
and SxExtDeletePortProperty.

Arguments:
Expand Down
2 changes: 1 addition & 1 deletion network/ndis/filter/filteruser.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (C) Microsoft. All rights reserved.
// Copyright (C) Microsoft Corporation. All rights reserved.
//
#ifndef __FILTERUSER_H__
#define __FILTERUSER_H__
Expand Down
2 changes: 1 addition & 1 deletion network/ndis/filter/flt_dbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2001 Microsoft Corporation

Module Name:

debug.c
flt_dbg.c

Abstract:

Expand Down
5 changes: 1 addition & 4 deletions network/ndis/filter/flt_dbg.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2001 Microsoft Corporation

Module Name:

debug.h
flt_dbg.h

Abstract:

Expand All @@ -17,9 +17,6 @@ Revision History:

--*/

// disable warnings


#ifndef _FILTDEBUG__H
#define _FILTDEBUG__H

Expand Down
2 changes: 1 addition & 1 deletion network/ndis/mux/driver/60/protocol.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*++
Copyright(c) 1992-2000 Microsoft Corporation
Copyright (c) 1992-2000 Microsoft Corporation

Module Name:

Expand Down
2 changes: 1 addition & 1 deletion network/ndis/ndisprot/6x/sys/60/ndisprot60.rc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Copyright (c) Microsoft Corporation. All rights reserved.

Module Name:

ndisprot.rc
ndisprot60.rc

Abstract:

Expand Down
2 changes: 1 addition & 1 deletion network/ndis/ndisprot/6x/sys/630/ndisprot630.rc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Copyright (c) Microsoft Corporation. All rights reserved.

Module Name:

ndisprot.rc
ndisprot630.rc

Abstract:

Expand Down
2 changes: 1 addition & 1 deletion network/ndis/ndisprot/6x/sys/protuser.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2000 Microsoft Corporation

Module Name:

nuiouser.h
protuser.h

Abstract:

Expand Down
2 changes: 1 addition & 1 deletion network/ndis/ndisprot_kmdf/60/protuser.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2000 Microsoft Corporation

Module Name:

nuiouser.h
protuser.h

Abstract:

Expand Down
6 changes: 3 additions & 3 deletions network/ndis/ndisprot_kmdf/60/send.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ Routine Description:

Queue - Default queue handle
Request - Handle to the read/write request
Lenght - Length of the data buffer associated with the request.
Length - Length of the data buffer associated with the request.
The default property of the queue is to not dispatch
zero lenght read & write requests to the driver and
complete is with status success. So we will never get
zero length read & write requests to the driver and
complete it with status success. So we will never get
a zero length request.

Return Value:
Expand Down
2 changes: 1 addition & 1 deletion network/ndis/netvmini/6x/60/netvmini60.rc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Copyright (c) Microsoft Corporation. All rights reserved.

Module Name:

netvmini.rc
netvmini60.rc

Abstract:

Expand Down
2 changes: 1 addition & 1 deletion network/ndis/netvmini/6x/620/netvmini620.rc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Copyright (c) Microsoft Corporation. All rights reserved.

Module Name:

netvmini.rc
netvmini620.rc

Abstract:

Expand Down
Loading
Loading