Partager via


OpenServiceErrors enumeration

Specifies custom error values used by the OpenService Accelerator API.

Syntax

typedef enum OpenServiceErrors { 
  OS_E_NOTFOUND      = 0x80030002,
  OS_E_NOTSUPPORTED  = 0x80004021,
  OS_E_CANCELLED     = 0x80002ef1,
  OS_E_GPDISABLED    = 0xc00d0bdc
} OpenServiceErrors;

Constants

  • OS_E_NOTFOUND
    A service with the specified ID could not be located.

    -or-

    The requested property was not available.

  • OS_E_NOTSUPPORTED
    An attempt was made to remove the default OpenSearch provider, or to disable or enable an OpenSearch provider. These actions are not supported.

    -or-

    The requested navigation was not possible.

    -or-

    The service could not be uninstalled due to a missing interface (rare).

  • OS_E_CANCELLED
    The user did not allow a change to the default OpenSearch provider.

  • OS_E_GPDISABLED
    The group policy does not permit Accelerators.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Openservice.h

IDL

Openservice.idl