#[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,
}
Expand description
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§
Auto Trait Implementations§
impl Freeze for SCN_LOAD_DATA
impl RefUnwindSafe for SCN_LOAD_DATA
impl !Send for SCN_LOAD_DATA
impl !Sync for SCN_LOAD_DATA
impl Unpin for SCN_LOAD_DATA
impl UnwindSafe for SCN_LOAD_DATA
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more