imaq1394GetVideoModesCW
Format
imaq1394GetVideoModesCW(sessionId As SESSION_ID, psaVideoModeArray() As VideoMode, currentMode As Long) As IMG_ERR
Purpose
Retrieves the list of video formats, modes, and frame rates supported by the camera.
Parameters
Parameter | Type | Description |
sessionId | SESSION_ID | A valid Session ID, which you can obtain using imaq1394CameraOpen2. |
psaVideoModeArray | SAFEARRAY (VideoMode) | An array of VideoMode structure elements in which the video modes supported by the camera are stored. Video mode contains information about the name of the video mode (size, representation, and speed) and the format, mode, and frame rate parameters as defined in the IEEE 1394-based digital camera specifications. |
currentMode | Long (passed by reference) | The index of the current mode used by the camera in psaVideoModeArray. |
Return Value
On success, this function returns IMG1394_ERR_GOOD. On failure, this function returns an error code. You can obtain a more detailed error message with imaq1394ShowErrorCW.