# dispShutdown

Initiates a system or ctdaemon shutdown or restart

#### Prototype

DWORD dispShutdown (unsigned action)

Argument | Description
action | How shutdown should be performed. Valid values for action are: CTA_SERVER_RESTART CTA_SERVER_SHUTDOWN CTA_SYSTEM_REBOOT CTA_SYSTEM_SHUTDOWN

#### Return values

Return value | Description
SUCCESS |
CTAERR_BAD_ARGUMENT | Invalid action specified.
CTAERR_NOT_INITIALIZED | Natural Access is not initialized.
CTAERR_SVR_COMM | Natural Access Server is not running.