GetF7Info
Top  Previous  Next

Description

Returns the array of long values containing the information releated to Format 7 (partial scan) video modes .


Syntax


[VB]
Value=objActiveDcam.GetF7Info()


[C/C++]
HRESULT GetF7Info( VARIANT* pInfo );


Data Types
[VB]


Return value
: Variant (Array)


Parameters
[C/C++]

pInfo [out,retval]  
Pointer to the SAFEARRAY containing the following long values in the listed order:  
 
- maximum height of the partial scan in pixels  
- maximum width of the partial scan in pixels  
- minimum interval at which partial scan size can be changed horizontally  
- minimum interval at which partial scan size can be changed vertically  
- minimum interval at which the offset of partial scan can be changed horizontally  
- minimum interval at which the offset of partial scan can be changed vertically     
- maximum number of bytes per isochronous packet that can be set  
- minimum number of bytes per isochronous packet and minimum interval at which it can be changed  
 
Return Values

S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB example retrieves a packet size information for the current F7 mode and initializes a scroll bar to conrol the packet size:

Private Sub
 Form_Load()

F7Info=ActiveDcam1.GetF7Info

HScroll1.Min = F7Info(6)
HScroll1.Max = F7Info(7)
End Sub


Private Sub
 HScroll1_Scroll()
ActiveDcam1.PacketSize = HScroll1.Value

End Sub


 

Remarks


Use this method to implement custom controls for partial scan size, offset and packet size.