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 as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
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.