Microsoft Windows CE 3.0  

NdisMSynchronizeWithInterrupt

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function synchronizes execution of a Miniport-supplied function with the MiniportISRor the MiniportDisableInterruptfunction.

BOOLEAN NdisMSynchronizeWithInterrupt(
IN PNDIS_MINIPORT_INTERRUPT
Interrupt
,
IN PVOID
SynchronizeFunction
,
IN PVOID
SynchronizeContext
);

Parameters

Interrupt
Pointer to the caller-supplied storage for the interrupt object initialized with the NdisMRegisterInterruptfunction.
SynchronizeFunction
Specifies the entry point of the driver's MiniportSynchronizeISRfunction.
SynchronizeContext
Pointer to a miniport-determined context area to be passed to the MiniportSynchronizeISRfunction when it is called.

Return Values

Returns the Boolean value returned by MiniportSynchronizeISR.

Remarks

The value returned by MiniportSynchronizeISRis also returned by this function. This propagated value can be used to provide a status to the caller.

NoteWindows CE provides the NdisMSynchronizeWithInterruptfunction to improve compatibility between Windows CE drivers and drivers that were written for Microsoft Windows 2000. Except for situations when driver portability is a concern, this function should not be needed, because the MiniportISRfunction will run with the miniport lock held.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h   Ndislib.lib
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

MiniportDisableInterrupt, MiniportISR, NdisMDeregisterInterrupt, NdisMRegisterInterrupt, NdisMSynchronizeWithInterrupt