Desktop Functions: Smart Device Functions:
|
Search Results for "SetVolumeLabel" in [All]kernel32
static extern bool SetVolumeLabel(string lpRootPathName, string lpVolumeName);
Private Shared Function SetVolumeLabel(ByVal lpRootPathName As String, ByVal lpVolumeName As String) As Boolean
static extern bool SetVolumeLabel(string lpRootPathName, string lpVolumeName);
if(SetVolumeLabel("C:\\","PInvokeC Drive"))
Private Function SetVolumeLabel(ByVal lpRootPathName As String, ByVal lpVolumeName As String) As Boolean
If Not SetVolumeLabel(DrivePath, value) Then Throw New Win32Exception(Marshal.GetLastWin32Error()) |