__interface IBackgroundTask : IUnknown

{

    HRESULT Init(ITask *pTask, int id, IBackgroundCallback *pCallback);

    void Start(void);

    BOOL Running(void);

    HRESULT Wait(DWORD waitMilliseconds);

    HRESULT Terminate(DWORD exitCode);

    HRESULT GetExitCode(LPDWORD pCode, HRESULT *pHresult);

    HRESULT Close(void);

};

 

Related Topics

Wizard Page Interfaces
Overview
HRESULT Init(ITask *pTask, int id, IBackgroundCallback *pCallback)
void Start(void)
BOOL Running()
HRESULT Wait(DWORD waitMilliseconds)
HRESULT Terminate(DWORD exitCode)
HRESULT GetExitCode(LPDWORD pCode, HRESULT *pHresult)
HRESULT Close(void)