# get_status

Returns status of specified operation.

## Syntax

void get_status(unsigned int operation_id)

## Description

This method returns the status of an operation, specified by operation_id, without stopping current thread execution.

## Return Values

STATUS_WAIT: Operation is waiting for execution.

STATUS_COMPLETED: Operation finished execution.

STATUS_ERROR: An error occurred during operation execution.

STATUS_EXECUTE: Operation is executing.

STATUS_BLOCKED: Execution of the queue was blocked after some earlier errors.

Parent topic: Intel's C++ Asynchronous I/O Class for Windows* Operating Systems