GetFrame function
The GetFrame function returns a handle to a given frame within a capture.
HFRAME WINAPI GetFrame(
_In_ HCAPTURE hCapture,
_In_ DWORD FrameNumber
);
-
hCapture [in]
-
Handle to a capture. To obtain the capture handle, call the GetFrameCaptureHandle function.
-
FrameNumber [in]
-
Number (zero-based) of the frame. The number of the first frame in a capture is zero.
If the function is successful, the return value is a handle to the frame.
If the function is unsuccessful (that is, if hCapture is invalid, or the frame number is out of range), the return value is NULL.
Use the GetFrame function to obtain the frame handle needed when locating instances of a property. The functions used to locate property instances are FindPropertyInstance which locates the first instance, and FindPropertyInstanceRestart which locates the next instance.
Experts and parsers can call the GetFrame function.
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Library |
|
DLL |
|