ifndef __REQUIRED_RPCNDR_H_VERSION__
define __REQUIRED_RPCNDR_H_VERSION__ 500
endif
ifndef __REQUIRED_RPCSAL_H_VERSION__
define __REQUIRED_RPCSAL_H_VERSION__ 100
endif

include rpc.inc
include rpcndr.inc

ifndef __RPCNDR_H_VERSION__
.err <this stub requires an updated version of rpcndr.inc>
endif

ifndef COM_NO_WINDOWS_H
include windows.inc
include ole2.inc
endif

ifndef __asyncinfo_h__
define __asyncinfo_h__

include inspectable.inc

.enum AsyncStatus {
    AsyncStatus_Started,
    AsyncStatus_Completed,
    AsyncStatus_Canceled,
    AsyncStatus_Error
    }

ifndef __IAsyncInfo_INTERFACE_DEFINED__
define __IAsyncInfo_INTERFACE_DEFINED__

DEFINE_IIDX(IAsyncInfo, "00000036-0000-0000-C000-000000000046")

.comdef IAsyncInfo : public IInspectable

    get_Id		proc :ptr uint_t
    get_Status		proc :ptr AsyncStatus
    get_ErrorCode	proc :ptr HRESULT
    Cancel		proc
    Close		proc
   .ends

endif
endif
