#[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,
}
Expand description
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§
Auto Trait Implementations§
impl Freeze for SCN_DATA_LOADED
impl RefUnwindSafe for SCN_DATA_LOADED
impl !Send for SCN_DATA_LOADED
impl !Sync for SCN_DATA_LOADED
impl Unpin for SCN_DATA_LOADED
impl UnwindSafe for SCN_DATA_LOADED
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