of_FileRename


pfcapsrv.pbl   >   pfc_n_cst_filesrvwin32   >   of_FileRename   

Full name pfc_n_cst_filesrvwin32.of_FileRename
Access public
Extend of integer
Return value integer
Prototype public function integer of_FileRename(string,string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_FileRename (string as_sourcefile, string as_targetfile);//////////////////////////////////////////////////////////////////////////////
//	Public Function:  of_FileRename
//	Arguments:		as_SourceFile			The file to rename.
//						as_TargetFile			The new file name.
//	Returns:			Integer
//						1 if successful,
//						-1 if an error occurrs.
//	Description:	Rename or move a file or directory.
//////////////////////////////////////////////////////////////////////////////
//	Rev. History:	Version
//						5.0   Initial version
//////////////////////////////////////////////////////////////////////////////
//	Copyright © 1996-1999 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 MoveFileA(as_SourceFile, as_TargetFile) Then
	Return 1
Else
	Return -1
End If
end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_filesrvwin32.MoveFileA pfc_n_cst_filesrvwin32

     
Full name
No Data

     
Name Scope
No Data