The GetProtocolStartOffsetHandle function returns the frame offset of a given protocol.
DWORD WINAPIGetProtocolStartOffsetHandle(HFRAMEhFrame,
HPROTOCOLhProtocol);
Parameters
- hFrame
[in] Handle to a frame. - hProtocol
[in] Handle to a protocol.
Return Values
If the function is successful, the return value is the offset of the frame — measured in bytes.
If the function is unsuccessful, the return value is one (1).
Remarks
Experts and parsers can call the GetProtocolStartOffsetHandle function.
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. |