okutil_http_error

 

Description

The okutil_http_* functions return an Origin specific error code or zero for success.

These functions call Window's WinHttp functions internally. Many WinHttp functions return TRUE or FALSE. When they return FALSE you need to call Window's GetLastError for an error code indicating what is wrong. The okutil_http functions will do this and save the error code. Call okutil_http_error to get the error code for the last error encountered. This function should only be called when an okutil_http function return an error.

Syntax

DWORD okutil_http_error( )

Parameters

Return

the error code for the last error encountered

Examples

See Also

header to Included

origin.h

Reference