Error codes

Declaration

The error codes, returned by the functions, correspond to Windows API error codes.