of_isregistryavailable


pfcapsrv.pbl   >   pfc_n_cst_appmanager   >   of_isregistryavailable   

Full name pfc_n_cst_appmanager.of_isregistryavailable
Access public
Extend of boolean
Return value boolean
Prototype public function boolean of_isregistryavailable()

Name Datatype
No Data

Name Datatype
No Data

public function boolean of_isregistryavailable ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_IsRegistryAvailable
//
//	Access:  	public
//
//	Arguments:	 none
//
//	Returns:  boolean
//
//	Description:  
//	Returns a boolean stating whether the registry is available.
//
//	Note: 
// This is a stub function.  Overload to get desired functionality.
// For example, if you only want INI functionality simply overload this
// function to always return False.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
// 5.0.04 Corrected so that (OSType=Windows! and OSMajorRevision=3 and
//			OSMinorRevision >= 95) does not return TRUE. A 16bit application 
//			cannot access the registry
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////

If ienv_object.Win16 Then Return False

If (ienv_object.OSType=Windows! and ienv_object.OSMajorRevision >= 4) or &
	ienv_object.OSType=WindowsNT! Then
	Return True
End If

Return False

end function

     
Name Owner
pfc_n_cst_appmanager.of_logondlg pfc_n_cst_appmanager
pfc_n_cst_appmanager.pfc_prelogondlg pfc_n_cst_appmanager

     
Name Owner
No Data

     
Full name
No Data

     
Name Scope
No Data