|
of_unregister
|
|
Full name
|
pfc_n_cst_tmgmultiple.of_unregister
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_unregister()
|
Name
|
Datatype
|
li_cnt
|
integer
|
li_count
|
integer
|
lnv_emptyregister
|
n_cst_tmgregisterattrib[]
|
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.
//
//////////////////////////////////////////////////////////////////////////////
integer li_cnt
integer li_count
n_cst_tmgregisterattrib lnv_emptyregister[]
// Validate required references.
If IsNull(itmg_requestor) Or Not IsValid(itmg_requestor) Then Return -1
// No longer need to generate timer interrupts.
itmg_requestor.Stop()
// Get the number of entries currently registered.
li_count = of_GetCount()
// Reset the main register list.
inv_tmgregister = lnv_emptyregister
// Reset the support register list.
ids_list.reset()
// return the number of entries unregistered.
Return li_count
end function
Name
|
Owner
|
datastore.reset |
datastore
|
timing.stop |
timing
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|
pfc_n_cst_tmgmultiple.of_getcount |
pfc_n_cst_tmgmultiple
|