LoadSettings
Top  Previous  Next

Description

Loads a group of previously stored camera settings from the system registry.


Syntax


[VB]
objActiveGeni.LoadSettings( Profile )


[C/C++]
HRESULT LoadSettings( BSTR Profile );


Data Types
[VB]

Profile: String
Return value: None


Parameters
[C/C++]

Profile [in]  
The name of the registry key in which the settings are saved.  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  

Example


This VB example restores previously saved camera settings:

Private Sub
 LoadSettings_Click()  
ActiveGeni1.LoadSettings ("FluorescentHighRes")

End Sub  

 

Remarks


This method verifies if the currently selected camera model coincides with the model for which the settings were saved. If the model is different, the function will return an error.