[][src]Struct sciter::host::SCN_LOAD_DATA

#[repr(C)]pub struct SCN_LOAD_DATA {
    pub code: UINT,
    pub hwnd: HWINDOW,
    pub uri: LPCWSTR,
    pub outData: LPCBYTE,
    pub outDataSize: UINT,
    pub dataType: RESOURCE_TYPE,
    pub request_id: HREQUEST,
    pub principal: HELEMENT,
    pub initiator: HELEMENT,
}

Notifies that Sciter is about to download a referred resource.

Fields

code: UINT

SC_LOAD_DATA 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".

outData: LPCBYTE

[in,out] pointer to loaded data to return. If data exists in the cache then this field contain pointer to it.

outDataSize: UINT

[in,out] loaded data size to return.

dataType: RESOURCE_TYPE

[in] resource type category

request_id: HREQUEST

[in] request handle that can be used with Sciter request API.

principal: HELEMENT

[in] destination element for request.

initiator: HELEMENT

[in] source element for request.

Trait Implementations

impl Debug for SCN_LOAD_DATA[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.