GetFeatureAccess
Top  Previous  Next

Description

Returns the information on availability and access to the specified camera feature.


Syntax


[VB]
Value=objActiveGige.GetFeatureAccess ( Name ) 


[C/C++]
HRESULT GetFeatureAccess( bstr Name, bstr pValue );


Data Types
[VB]

Name: String
Return value
: String


Parameters
[C/C++]

Name [in]  
String specifying the name of the feature  
pValue [out, retval]  
Pointer to the string representing the access to the feature in the currently selected camera:  
"NI" - feature is not implemented  
"NA" - feature is not available at the moment  
"WO" - feature has the write-only access  
"RO" - feature has the read-only access  
"RW" - feature has the full access  


Return Values


S_OK  
Success  
E_FAIL  
Failure  
 

Example


This VB example displays the access mode of the feature:

MsgBox GetFeatureAccess("DeviceFirmwareVersion")
 

Remarks


Note that the access to a feature can change depending on the value of other features.