# ppxBeginCancel

Cancels a begin or a submit transaction.

#### Prototype

DWORD ppxBeginCancel ( CTAHD ctahd )

Argument | Description
ctahd | Context handle returned by ctaCreateContext or ctaAttachContext.

#### Return values

Return value | Description
SUCCESS |
CTAERR_OUT_OF_MEMORY | Unable to allocate memory.
CTAERR_SVR_COMM | Natural Access server communication error.
PPXERR_COMM_FAILURE | Problems were encountered when communicating with the PPX server.
PPXERR_INVALID_COMMAND | A ppxBegin command was not active.

#### Details

ppxBeginCancel cancels a begin or a submit transaction.

#### See also

ppxSubmit