NativeMethods.GetVolumeInformation, méthode (String, IntPtr, UInt32, IntPtr, IntPtr, UInt32%, IntPtr, UInt32)
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 GetVolumeInformation ( _
lpRootPathName As String, _
lpVolumeNameBuffer As IntPtr, _
nVolumeNameSize As UInteger, _
lpVolumeSerialNumber As IntPtr, _
lpMaximumComponentLength As IntPtr, _
ByRef lpFileSystemFlags As UInteger, _
lpFileSystemNameBuffer As IntPtr, _
nFileSystemNameSize As UInteger _
) As Boolean
public static bool GetVolumeInformation(
string lpRootPathName,
IntPtr lpVolumeNameBuffer,
uint nVolumeNameSize,
IntPtr lpVolumeSerialNumber,
IntPtr lpMaximumComponentLength,
ref uint lpFileSystemFlags,
IntPtr lpFileSystemNameBuffer,
uint nFileSystemNameSize
)
Paramètres
- lpRootPathName
Type : System.String
- lpVolumeNameBuffer
Type : System.IntPtr
- nVolumeNameSize
Type : System.UInt32
- lpVolumeSerialNumber
Type : System.IntPtr
- lpMaximumComponentLength
Type : System.IntPtr
- lpFileSystemFlags
Type : System.UInt32%
- lpFileSystemNameBuffer
Type : System.IntPtr
- nFileSystemNameSize
Type : System.UInt32
Valeur de retour
Type : System.Boolean