PortGetWin32Error

cCall   [pPortGetWin32Error], <hPort, <OFFSET32 dwError>>
or      eax, eax
jz      error_handler
 

Returns a Win32 error.

hPort
Address of a _PORTINFORMATION structure returned by the PortOpen function.
dwError
Error word filled by a function.

See Also

_PORTINFORMATION, PortOpen