GHC.Windows
type BOOL
type LPBOOL
type BYTE
type DWORD
type UINT
type ErrCode
type HANDLE
type LPWSTR
type LPTSTR
iNFINITE
iNVALID_HANDLE_VALUE
throwGetLastError
failWith
getErrorMessage
errCodeToIOError
failIf
failIf_
failIfNull
failIfZero
failIfFalse_
failUnlessSuccess
failUnlessSuccessOr