Fonction FsRtlFreeFileLock (ntifs.h)
La routine FsRtlFreeFileLock ne initialise pas et libère une structure de verrou de fichier.
Syntaxe
void FsRtlFreeFileLock(
[in] PFILE_LOCK FileLock
);
Paramètres
[in] FileLock
Pointeur vers la structure FILE_LOCK. Cette structure doit avoir été allouée par un appel précédent à FsRtlAllocateFileLock.
Valeur de retour
None
Remarques
FsRtlFreeFileLock doit être utilisé uniquement pour les verrous de fichiers qui ont été alloués et initialisés par FsRtlAllocateFileLock.
Il s’agit d’une erreur de programmation d’appeler FsRtlFreeFileLock pour une structure FILE_LOCK qui a déjà été non initialisée par un appel à FsRtlUninitializeFileLock.
Les minifiltres doivent appeler FltFreeFileLock au lieu de FsRtlFreeFileLock.
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows 2000 |
Plateforme cible | Universal |
En-tête | ntifs.h (inclure Ntifs.h) |
Bibliothèque | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <= APC_LEVEL |
Règles de conformité DDI | HwStorPortProhibitedDDIs(storport) |