pub struct TBPF(/* private fields */);
kernel
and shell
only.Expand description
ITaskbarList3::SetProgressState
tbpFlags
(u32
).
Implementations§
source§impl TBPF
impl TBPF
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl TBPF
impl TBPF
sourcepub const NOPROGRESS: Self = _
pub const NOPROGRESS: Self = _
Stops displaying progress and returns the button to its normal state. Call this method with this flag to dismiss the progress bar when the operation is complete or canceled.
sourcepub const INDETERMINATE: Self = _
pub const INDETERMINATE: Self = _
The progress indicator does not grow in size but cycles repeatedly along the length of the taskbar button. This indicates activity without specifying what proportion of the progress is complete. Progress is taking place but there is no prediction as to how long the operation will take.
sourcepub const NORMAL: Self = _
pub const NORMAL: Self = _
The progress indicator grows in size from left to right in proportion to the estimated amount of the operation completed. This is a determinate progress indicator; a prediction is being made as to the duration of the operation.
sourcepub const ERROR: Self = _
pub const ERROR: Self = _
The progress indicator turns red to show that an error has occurred in one of the windows that is broadcasting progress. This is a determinate state. If the progress indicator is in the indeterminate state it switches to a red determinate display of a generic percentage not indicative of actual progress.
sourcepub const PAUSED: Self = _
pub const PAUSED: Self = _
The progress indicator turns yellow to show that progress is currently stopped in one of the windows but can be resumed by the user. No error condition exists and nothing is preventing the progress from continuing. This is a determinate state. If the progress indicator is in the indeterminate state it switches to a yellow determinate display of a generic percentage not indicative of actual progress.
Trait Implementations§
source§impl IntUnderlying for TBPF
impl IntUnderlying for TBPF
source§impl Ord for TBPF
impl Ord for TBPF
source§impl PartialEq for TBPF
impl PartialEq for TBPF
source§impl PartialOrd for TBPF
impl PartialOrd for TBPF
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more