Struct sciter::types::SCN_DATA_LOADED
[−]
[src]
#[repr(C)]pub struct SCN_DATA_LOADED { pub code: UINT, pub hwnd: HWINDOW, pub uri: LPCWSTR, pub data: LPCBYTE, pub dataSize: UINT, pub dataType: UINT, pub status: UINT, }
This notification indicates that external data (for example image) download process completed.
Fields
code: UINT
SC_DATA_LOADED
here.
hwnd: HWINDOW
HWINDOW
of the window this callback was attached to.
uri: LPCWSTR
[in] zero terminated string, fully qualified uri, for example "http://server/folder/file.ext".
data: LPCBYTE
[in] pointer to loaded data.
dataSize: UINT
[in] loaded data size (in bytes).
dataType: UINT
[in] resource type category
status: UINT
Download status code:
- status = 0 and
dataSize == 0
- unknown error. - status = 100..505 - http response status, note: 200 - OK!
- status > 12000 - wininet error code, see
ERROR_INTERNET_***
in wininet.h