ProSoft Technology MVI69-ADM User Manual
Page 171

MVI-ADM ♦ 'C' Programmable
Application Development Function Library - ADM API
'C' Programmable Application Development Module
Developer's Guide
ProSoft Technology, Inc.
Page 171 of 342
February 20, 2013
ADM_BtNext
Syntax
int ADM_BtNext(ADMHANDLE adm_handle, ADM_INTERFACE * adm_interface_ptr)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
adm_interface_ptr
Pointer to ADM_INTERFACE structure to allow API access to
structures
Description
This function sets the next write block number.
MVI56 Note
If the write block is equal to the maximum write block, the next write block will be
set to 1. If the maximum is 1, the next write block will be 0. If the maximum is 0,
then the next write block will be -1.
MVI94 Note
If the write block is equal to the maximum write block, the next write block will be
set to 1.
MVI69 Note
If the write block is equal to the maximum write block, the next write block will be
set to 0. If the maximum is 0, the next write block will be -1.
MVI46 Note
This is a null function for the MVI46.
Return Value
ADM_SUCCESS
No errors were encountered
ADM_ERR_NOACCESS
adm_handle does not have access
ADM_ERR_NOTSUPPORTED
Function is not supported on this platform
Example
ADMHANDLE adm_handle;
ADM_INTERFACE *interface_ptr;
ADM_INTERFACE interface;
interface_ptr = &interface;
ADM_BtNext(adm_handle, interface_ptr);
See Also
ADM_BtOpen (page 169)