[][src]Struct sciter::host::SCN_DATA_LOADED

#[repr(C)]pub struct SCN_DATA_LOADED {
    pub code: UINT,
    pub hwnd: HWINDOW,
    pub uri: LPCWSTR,
    pub data: LPCBYTE,
    pub dataSize: UINT,
    pub dataType: RESOURCE_TYPE,
    pub status: UINT,
}

This notification indicates that external data (for example, image) download process has been 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: RESOURCE_TYPE

[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

Trait Implementations

impl Debug for SCN_DATA_LOADED[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.