IWICProgressCallback::Notify-Methode (wincodec.h)
Die Notify-Methode ist nur für die Konformität dokumentiert; ihre Verwendung wird nicht empfohlen und kann in Zukunft geändert oder nicht mehr verfügbar sein. Verwenden Sie stattdessen RegisterProgressNotification.
Syntax
HRESULT Notify(
[in] ULONG uFrameNum,
[in] WICProgressOperation operation,
[in] double dblProgress
);
Parameter
[in] uFrameNum
Typ: ULONG
Die aktuelle Framenummer.
[in] operation
Typ: WICProgressOperation
Der Vorgang, für den der Fortschritt gemeldet wird.
[in] dblProgress
Typ: double
Der Statuswert reicht von 0,0 bis 1,0. 0.0 gibt den Anfang des Vorgangs an. 1.0 gibt das Ende des Vorgangs an.
Rückgabewert
Typ: HRESULT
Wenn diese Methode erfolgreich ist, wird S_OK zurückgegeben. Andernfalls wird ein Fehlercode HRESULT zurückgegeben.
Anforderungen
Unterstützte Mindestversion (Client) | Windows 7, Windows Vista mit SP2 und Plattformupdate für Windows Vista [Desktop-Apps | UWP-Apps] |
Unterstützte Mindestversion (Server) | Windows Server 2008 R2, Windows Server 2008 mit SP2 und Plattformupdate für Windows Server 2008 [Desktop-Apps | UWP-Apps] |
Zielplattform | Windows |
Kopfzeile | wincodec.h |
DLL | Windowscodecs.dll |