Value:
#define IOCTL_WD_PCI_RESET_CARD
Reset the PCI function without affecting other functions on the device.
This operation performs a Function Level Reset (FLR), if supported by the device. Note: The device must support this capability; otherwise, the operation will fail.
- Parameters
-
| [in] | h | Handle to WinDriver's kernel-mode driver as received from WD_Open() |
| [in] | pPciSlot | Pointer to a PCI slot information structure |
- Returns
- Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise
DWORD dwStatus;
{
printf("Failed resetting the device. Error [0x%lx - %s]\n",
}
const char *DLLCALLCONV Stat2Str(_In_ DWORD dwStatus)
Retrieves the status string that corresponds to a status code.
DWORD dwFunction
Function number.
DWORD dwDomain
Domain number.
#define WD_PciResetCard(h, pPciSlot)
Reset the PCI function without affecting other functions on the device.
@ WD_STATUS_SUCCESS
[0] Operation completed successfully
Definition at line 2546 of file windrvr.h.