# dispGetQueueHandle

Retrieves the queue handle of the specified context.

#### Prototype

DWORD dispGetQueueHandle (CTAHD ctahd, CTAQUEUEHD *ctaqueuehd)

Argument | Description
ctahd | Context handle.
ctaqueuehd | Pointer to the returned queue handle.

#### Return values

Return value | Description
SUCCESS |
CTAERR_BAD_ARGUMENT | ctaqueuehd is NULL.
CTAERR_INVALID_CTAHD | Specified ctahd is invalid.
CTAERR_NOT_INITIALIZED | Natural Access is not initialized.

#### Details

dispGetQueueHandle retrieves the queue handle associated with the context.