2.2.57 FAX_ENUM_PROVIDER_STATUS

The FAX_ENUM_PROVIDER_STATUS enumeration defines load status types for Fax Service Providers (FSPs).

 typedef  enum 
 {
   FAX_PROVIDER_STATUS_SUCCESS = 0x00000000,
   FAX_PROVIDER_STATUS_SERVER_ERROR = 0x00000001,
   FAX_PROVIDER_STATUS_BAD_GUID = 0x00000002,
   FAX_PROVIDER_STATUS_BAD_VERSION = 0x00000003,
   FAX_PROVIDER_STATUS_CANT_LOAD = 0x00000004,
   FAX_PROVIDER_STATUS_CANT_LINK = 0x00000005,
   FAX_PROVIDER_STATUS_CANT_INIT = 0x00000006
 } FAX_ENUM_PROVIDER_STATUS;

FAX_PROVIDER_STATUS_SUCCESS: The provider was successfully loaded, linked, and initialized.

FAX_PROVIDER_STATUS_SERVER_ERROR: Error encountered while trying to load, link, and initialize the provider. This is a server-related error. For more information about the error code, see the dwLastError member of the FAX_DEVICE_PROVIDER_INFO (section 2.2.30) or FAX_ROUTING_EXTENSION_INFO (section 2.2.49) structures.

FAX_PROVIDER_STATUS_BAD_GUID: Error encountered while parsing the installation data of the device provider. The GUID of the device provider is invalid.

FAX_PROVIDER_STATUS_BAD_VERSION: Error encountered while parsing the installation data of the device provider. The API version of the device provider is invalid.

FAX_PROVIDER_STATUS_CANT_LOAD: Error encountered while loading the provider's binary. Place the corresponding error in the dwLastError member of the FAX_DEVICE_PROVIDER_INFO or FAX_ROUTING_EXTENSION_INFO structures.

FAX_PROVIDER_STATUS_CANT_LINK: Error encountered while linking to routines exported by the device provider. Place the corresponding error in the dwLastError member of the FAX_DEVICE_PROVIDER_INFO or FAX_ROUTING_EXTENSION_INFO structures.<24>

FAX_PROVIDER_STATUS_CANT_INIT: Error encountered while calling the initialization function of the provider. Place the corresponding error in the dwLastError member of the FAX_DEVICE_PROVIDER_INFO or FAX_ROUTING_EXTENSION_INFO structures.