NativeMethods.ReadDirectoryChangesW, méthode
Ce type a un attribut SecurityCriticalAttribute, qui le limite à un usage interne par la bibliothèque de classes .NET Framework pour Silverlight. Un code d'application qui utilise un membre de ce type lève une exception MethodAccessException.
Espace de noms : Microsoft.TeamFoundation.Common.Internal
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Public Shared Function ReadDirectoryChangesW ( _
hDirectory As SafeFileHandle, _
lpBuffer As IntPtr, _
nBufferLength As UInteger, _
bWatchSubtree As Boolean, _
dwNotifyFilter As UInteger, _
<OutAttribute> ByRef lpBytesReturned As UInteger, _
overlappedPointer As IntPtr, _
lpCompletionRoutine As IntPtr _
) As Boolean
public static bool ReadDirectoryChangesW(
SafeFileHandle hDirectory,
IntPtr lpBuffer,
uint nBufferLength,
bool bWatchSubtree,
uint dwNotifyFilter,
out uint lpBytesReturned,
IntPtr overlappedPointer,
IntPtr lpCompletionRoutine
)
Paramètres
- hDirectory
Type : Microsoft.Win32.SafeHandles.SafeFileHandle
- lpBuffer
Type : System.IntPtr
- nBufferLength
Type : System.UInt32
- bWatchSubtree
Type : System.Boolean
- dwNotifyFilter
Type : System.UInt32
- lpBytesReturned
Type : System.UInt32%
- overlappedPointer
Type : System.IntPtr
- lpCompletionRoutine
Type : System.IntPtr
Valeur de retour
Type : System.Boolean