of_unregister


pfcapsrv.pbl   >   pfc_n_cst_tmgsingle   >   of_unregister   

Full name pfc_n_cst_tmgsingle.of_unregister
Access public
Extend of integer
Return value integer
Prototype public function integer of_unregister()

Name Datatype
No Data

Name Datatype
lpo_notvalid powerobject

public function integer of_unregister ();//////////////////////////////////////////////////////////////////////////////
//
//	Function: of_UnRegister
//
//	Access: 	public
//
//	Arguments: 	None
//
//	Returns:
//	integer : the number of entries that were unregistered
//
//	Description:
//	Unregister all entries.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

powerobject lpo_notvalid

// Validated required references.
If IsNull(itmg_requestor) Or Not IsValid(itmg_requestor) Then
	Return -1
End If

If IsValid(ipo_notifyobject) Then
	// Unregister the current entry.
	ipo_notifyobject = lpo_notvalid
	is_notifyevent = ''
	ir_interval = 0
	itmg_requestor.Stop()
	Return 1
End If

Return 0
end function

     
Name Owner
No Data

     
Name Owner
timing.stop timing
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data