Network Programming for Microsoft Windows (Microsoft Professional Series)

NCBCANCEL

This command cancels a previous outstanding command. The ncb_buffer field points to the NCB structure with the operation that you want canceled. Canceling an NCBSEND or NCBCHAINSEND command aborts the session; however, aborting their no-ack variants does not cancel their respective sessions. The following commands cannot be canceled: NCBADDGRNAME, NCBADDNAME, NCBCANCEL, NCBDELNAME, NCBRESET, NCBDGSEND, NCBDGSENDBC, and NCBSSTAT. Table 22-5 describes the characteristics of the NCBCANCEL command.

Table 22-5 NCBCANCEL

Field

In/Out

Required

ncb_command

In

X

ncb_retcode

Out

ncb_lsn

ncb_num

ncb_buffer

In

X

ncb_length

ncb_callname

ncb_name

ncb_rto

ncb_sto

ncb_post

ncb_lana_num

In

X

ncb_cmd_cplt

Out

ncb_event

Категории