COleMessageFilter::SetBusyReply

void SetBusyReply( SERVERCALL nBusyReply );

Parameters

nBusyReply

A value from the SERVERCALL enumeration, which is defined in COMPOBJ.H. It can have any one of the following values:

Remarks

This function sets the application’s “busy reply.” The BeginBusyState and EndBusyState functions control the application’s busy state.

When an application has been made busy with a call to BeginBusyState, it responds to calls from the OLE system DLLs with a value determined by the last setting of SetBusyReply. The calling application uses this busy reply to determine what action to take.

By default, the busy reply is SERVERCALL_RETRYLATER. This reply causes the calling application to retry the call as soon as possible.

COleMessageFilter OverviewClass MembersHierarchy Chart

See Also   COleMessageFilter::BeginBusyState, COleMessageFilter::EndBusyState