Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetPreviousProtocolOffsetByName function returns the previous instance of a given protocol.
DWORD WINAPIGetPreviousProtocolOffsetByName(HFRAMEhFrame,
DWORDdwStartOffset,
LPSTRszProtocolName,
DWORD*pdwPreviousOffset);
Parameters
- hFrame
[in] Handle to the frame. - dwStartOffset
[in] Offset in the frame. - szProtocolName
[in] Name of the protocol you want to search for. - pdwPreviousOffset
[out] Pointer to a DWORD that contains the offset to the previous protocol (if the function succeeds).
Return Values
If the function is successful, the return value is NMERR_SUCCESS.
If the function is unsuccessful, the return value is NMERR_PROTOCOL_NOT_FOUND.
Remarks
Experts and parsers can call the GetPreviousProtocolOffsetByName.
Requirements
| Client | Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0. |
| Server | Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0. |
| Header | Declared in Netmon.h. |
| Library | Link to Nmapi.lib. |
| DLL | Requires Nmapi.dll. |