Partager via


fonction WDF_REMOVE_LOCK_OPTIONS_INIT (wdfdevice.h)

[S’applique uniquement à KMDF]

La fonction WDF_REMOVE_LOCK_OPTIONS_INIT initialise une structure WDF_REMOVE_LOCK_OPTIONS.

Syntaxe

VOID WDF_REMOVE_LOCK_OPTIONS_INIT(
  [out] PWDF_REMOVE_LOCK_OPTIONS RemoveLockOptions,
  [in]  ULONG                    Flags
);

Paramètres

[out] RemoveLockOptions

Pointeur vers une structure WDF_REMOVE_LOCK_OPTIONS.

[in] Flags

WDF_REMOVE_LOCK_OPTIONS_FLAGSindicateurs typés.

Valeur de retour

Aucun

Remarques

La fonction WDF_REMOVE_LOCK_OPTIONS_INIT supprime la structure WDF_REMOVE_LOCK_OPTIONS que le paramètre RemoveLockOptions spécifie et définit son membre Size. Cette fonction définit également le membre de la structure sur la valeur fournie dans le paramètre indicateurs de.

Avant qu’un pilote appelle WdfDeviceInitSetRemoveLockOptions, il doit appeler WDF_REMOVE_LOCK_OPTIONS_INIT pour initialiser une structure WDF_REMOVE_LOCK_OPTIONS.

Pour obtenir un exemple de code qui utilise WDF_REMOVE_LOCK_OPTIONS_INIT, consultez WdfDeviceInitSetRemoveLockOptions.

Exigences

Exigence Valeur
plateforme cible Universel
version minimale de KMDF 1.11
d’en-tête wdfdevice.h (include Wdf.h)

Voir aussi

WDF_REMOVE_LOCK_OPTIONS

WDF_REMOVE_LOCK_OPTIONS_FLAGS

WdfDeviceInitSetRemoveLockOptions