uaPLUS Reference
CancelAsyncRead Method
See Also  Send Feedback
I_HDAPlugin Namespace > IAppPlugin Interface : CancelAsyncRead Method

cancelID
Identifies the request to be cancelled.

Glossary Item Box

This method cancels outstanding asynchronous read or advise requests. The server shall respond via the client's IOPCHDA_DataCallback::OnCancelComplete method unless a FAILED error code is returned from the call. If a FAILED error code is returned, there will be no callback to the client's IOPCHDA_DataCallback::OnCancelComplete method.

Syntax

Visual Basic (Declaration) 
Function CancelAsyncRead( _
   ByVal cancelID As Integer _
) As Integer
C# 
int CancelAsyncRead( 
   int cancelID
)

Parameters

cancelID
Identifies the request to be cancelled.

Return Value

HRESULTS success/error code.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.