A.2. Status Codes Returned by WinDriver

Status CodeDescription
WD_STATUS_SUCCESSSuccess
WD_STATUS_INVALID_WD_HANDLEInvalid WinDriver handle
WD_WINDRIVER_STATUS_ERRORError
WD_INVALID_HANDLEInvalid handle
WD_INVALID_PIPE_NUMBERInvalid pipe number
WD_READ_WRITE_CONFLICTConflict between read and write operations
WD_ZERO_PACKET_SIZEPacket size is zero
WD_INSUFFICIENT_RESOURCESInsufficient resources
WD_UNKNOWN_PIPE_TYPEUnknown pipe type
WD_SYSTEM_INTERNAL_ERRORInternal system error
WD_DATA_MISMATCHData mismatch
WD_NO_LICENSENo valid license
WD_NOT_IMPLEMENTEDFunction not implemented
WD_KERPLUG_FAILUREKernel PlugIn failure
WD_FAILED_ENABLING_INTERRUPTFailed enabling interrupt
WD_INTERRUPT_NOT_ENABLEDInterrupt not enabled
WD_RESOURCE_OVERLAPResource overlap
WD_DEVICE_NOT_FOUNDDevice not found
WD_WRONG_UNIQUE_IDWrong unique ID
WD_OPERATION_ALREADY_DONEOperation already done
WD_SET_CONFIGURATION_FAILEDSet configuration operation failed
WD_CANT_OBTAIN_PDOCannot obtain PDO
WD_TIME_OUT_EXPIREDTimeout expired
WD_IRP_CANCELEDIRP operation canceled
WD_FAILED_USER_MAPPINGFailed to map in user space
WD_FAILED_KERNEL_MAPPINGFailed to map in kernel space
WD_NO_RESOURCES_ON_DEVICENo resources on the device
WD_NO_EVENTSNo events
WD_INVALID_PARAMETERInvalid parameter
WD_INCORRECT_VERSIONIncorrect WinDriver version installed
WD_TRY_AGAINTry again
WD_INVALID_IOCTLReceived an invalid IOCTL
WD_OPERATION_FAILEDOperation failed
WD_INVALID_32BIT_APPReceived an invalid 32-bit IOCTL
WD_TOO_MANY_HANDLESNo room to add handle
WD_NO_DEVICE_OBJECTDriver not installed