Редагувати

Поділитися через


GetProtocolStartOffsetHandle function

The GetProtocolStartOffsetHandle function returns the frame offset of a given protocol.

Syntax

DWORD WINAPI GetProtocolStartOffsetHandle(
  _In_ HFRAME    hFrame,
  _In_ HPROTOCOL hProtocol
);

Parameters

hFrame [in]

Handle to a frame.

hProtocol [in]

Handle to a protocol.

Return value

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

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h
Library
Nmapi.lib
DLL
Nmapi.dll