Partager via


GetCaptureTotalFrames

The GetCaptureTotalFrames function returns the total number of frames in the capture.

DWORD WINAPIGetCaptureTotalFrames(HCAPTUREhCapture);

Parameters

  • hCapture
    [in] Handle to the capture. For information about obtaining the capture handle, see the Remarks section of this GetCaptureTotalFrames topic.

Return Values

If the function is successful, the return value is the total number of frames in the capture.

If the function is unsuccessful, the return value is 0.

Remarks

Experts and parsers can call the GetCaptureTotalFrames 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.