Skip navigation links
Restart Windows Explorer easily from your application!
Restart Windows Explorer easily from your application!

SDD_Status code

The SDD_Status code is returned by the SDD_GetNextStatus function.  It returns any additional statusses that went with the SDD_Result code returned by most functions.  See the SDD_GetNextStatus function help page for more information on obtaining status codes.

The possible common values are:

  • SDD_StatusNoMore (0): no more status codes are available.

The success values are:

  • SDD_StatusAlreadyStarted (100): Explorer has already been started when calling SDD_Start.
  • SDD_StatusAlreadyClosed (101): Explorer has already been closed when calling SDD_Close.

The warning values are:

  • SDD_StatusClosedForceful (200): Explorer could not be closed gracefully by SDD_Close or SDD_Restart and had to be closed forcefully.
  • SDD_StatusSelfRestarted (201): Explorer has restarted itself in stead of needing to be started up by SDD_Restart.
  • SDD_StatusNoPreventStartupItems (202): when closing Explorer by SDD_Close or SDD_Restart, ShellDispenser-Dev could not prevent that Explorer will re-run it's startup items next time it is started.

The error values are:

  • SDD_StatusNotInitialized (300): the ShellDispenser-Dev dll is not yet initialized; please call SDD_Initialize first before using any other functions.
  • SDD_StatusLicenseInvalid (301): the license supplied to SDD_Initialize is invalid; make sure you have formatted the license text data correctly, or pass an empty string if you have not yet bought a license.
  • SDD_StatusPlatformNotSupported (302): the Windows OS version you have tried to run ShellDispenser-Dev on is not supported; see the system requirements help page for more information.
  • SDD_StatusErrorStarting (303): there was an error starting Explorer by SDD_Start or SDD_Restart.
  • SDD_StatusErrorClosing (304): there was an error closing Explorer by SDD_Close or SDD_Restart.