3.5. WD_IntDisable()

Purpose

Disables interrupt processing.

Prototype
DWORD WD_IntDisable(
    HANDLE hWD,
    WD_INTERRUPT *pInterrupt);
Parameters
NameTypeInput/Output
hWDHANDLEInput
pInterruptWD_INTERRUPT 
• hInterruptHANDLEInput
• dwOptionsDWORDN/A
• CmdWD_TRANSFER*N/A
• dwCmdsDWORDN/A
• kpCallWD_KERNEL_PLUGIN_CALLN/A
• fEnableOkDWORDN/A
• dwCounterDWORDN/A
• dwLostDWORDN/A
• fStoppedDWORDN/A
• dwLastMessageDWORDN/A
• dwEnabledIntTypeDWORDN/A
Description
NameDescription
hWDHandle to WinDriver's kernel-mode driver as received from WD_Open() [5.2]
pInterruptPointer to an interrupt information structure:
• hInterrupt Handle of interrupt, returned by WD_CardRegister() [2.6] in I.Int.hInterrupt.
Return Value

Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise [A].

Example
WD_IntDisable(hWD, &Intrp);