IPrinterExtensionAsyncOperation::Cancel method

Cancels the asynchronous operation.

Syntax


HRESULT Cancel(
   void
);

Parameters

void

None.

Return value

This method returns an HRESULT value.

Remarks

This method guarantees that the callback object will not be invoked. No other form of status is provided, such as a way to check to see if the operation has been canceled. Also, note that this method does not wait for the cancellation to be processed - it returns immediately.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Header

Printerextension.h

See also

IPrinterExtensionAsyncOperation

 

 

Send comments about this topic to Microsoft

표시:
© 2014 Microsoft