The SAD_ScGetBulkProxyStatus function obtains the status of a bulk operation.
Header file: | SADAPI.H |
Library: | SADAPI.LIB |
RPC_SC SAD_ScGetBulkProxyStatus(
LPTSTR szServer,
RPC_SYSTEMTIME * pstTimeStart,
DWORD * pdwTimeStart,
DWORD * pdwTimeCur,
INT * piRecipients,
INT * pcRecipients
);
typedef struct __MIDL_TriggerPrivateRPC_0001
{
short rgwSystemTime[ 8 ];
} RPC_SYSTEMTIME;
See Return Values.
The SAD_ScGetBulkProxyStatus function gets the status of whatever bulk operation is running. These bulk operations are SAD_ScBulkCreateProxy, SAD_ScBulkCreateMultiProxy, and SAD_ScBulkUpdateMultiProxy.
You can determine how long, in seconds, the bulk operation has been running by subtracting the value of pdwTimeStart from the value of pdwTimeCur.
You can tell how far along the bulk operation is in converting a list of recipients by comparing piRecipients, which gives you where the bulk operation is in the list, with pcRecipients , which tells you how many recipients are in the list.
You can use SAD_ScBulkProxyHalt to interrupt a bulk operation.
For more information on this function, see Generating Recipient Proxy Addresses.
SAD_ScBulkCreateMultiProxy, SAD_ScBulkCreateProxy, SAD_ScBulkProxyHalt, SAD_ScBulkUpdateMultiProxy