Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/browser/components/shell/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 966 B image not shown  

Quelle  Windows11TaskbarPinning.h

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


/**
 * This file exists to keep the Windows 11 Taskbar Pinning API
 * related code as self-contained as possible.
 */


#ifndef SHELL_WINDOWS11TASKBARPINNING_H_
#define SHELL_WINDOWS11TASKBARPINNING_H_

#include "nsString.h"
#include <wrl.h>
#include <windows.h>  // for HRESULT

enum class Win11PinToTaskBarResultStatus {
  Failed,
  NotCurrentlyAllowed,
  AlreadyPinned,
  NotPinned,
  Success,
  NotSupported,
};

struct Win11PinToTaskBarResult {
  HRESULT errorCode;
  Win11PinToTaskBarResultStatus result;
};

Win11PinToTaskBarResult PinCurrentAppToTaskbarWin11(
    bool aCheckOnly, const nsAString& aAppUserModelId,
    const bool aFireAndForget);

Win11PinToTaskBarResult IsCurrentAppPinnedToTaskbarWin11();

#endif  // SHELL_WINDOWS11TASKBARPINNING_H_

Messung V0.5 in Prozent
C=94 H=97 G=95

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.