Applies or halts flow control to the specified service access point.
DWORD NMSAPI MTP3Flow ( CTAHD ctahd, S16 sapId, S16 action)
Argument |
Description |
ctahd |
Natural Access handle. |
sapId |
Service access point ID. Specify the same value used for the ctaOpenServices request. |
action |
Flow control action to take: zero to disable, non-zero to enable. |
Return value |
Description |
MTP3_SUCCESS |
|
MTP3_INVBOARD |
Invalid board number. |
MTP3_NOT_BOUND |
ctaOpenServices not previously called. |
MTP3_OSERROR |
Lower-level drivers or task returned an error. |
If flow control is active, incoming data messages are buffered in the MTP 3 process until flow control is deactivated. For more information, see Controlling congestion.