Partager via


fonction WDF_REMOVE_LOCK_OPTIONS_INIT (wdfdevice.h)

[S’applique uniquement à KMDF]

La fonction WDF_REMOVE_LOCK_OPTIONS_INIT initialise une structure de 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_FLAGS indicateurs typés.

Valeur de retour

None

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 Flags de la structure sur la valeur fournie dans le paramètre Flags .

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.

Configuration requise

Condition requise Valeur
Plateforme cible Universal
Version KMDF minimale 1.11
En-tête wdfdevice.h (include Wdf.h)

Voir aussi

WDF_REMOVE_LOCK_OPTIONS

WDF_REMOVE_LOCK_OPTIONS_FLAGS

WdfDeviceInitSetRemoveLockOptions