术语 | deletevolumemountpoint |
释义 | DeleteVolumeMountPoint 语法: C++ BOOL WINAPI DeleteVolumeMountPoint( __in LPCTSTR lpszVolumeMountPoint ); DeleteVolumeMountPoint功能 删除驱动器号或装入文件夹。 参数 lpszVolumeMountPoint [in] 该驱动器号或安装文件夹被删除。一个尾部反斜杠是必需的,例如,X:\\或Y:\\ MountX \\。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。 备注 删除安装文件夹,不会导致基础目录被删除。 如果lpszVolumeMountPoint参数是一个目录,不是安装文件夹,该函数不执行任何操作。该目录不会被删除。 要编译的应用程序使用此函数,定义为0x0500或更高_WIN32_WINNT宏。有关详细信息,请参阅使用Windows头。 实例 有关示例,请卸载在一个卷装入点。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWinBase.h(头文件:winuser.h) LibraryKernel32.lib DLLKernel32.dll Unicode和ANSI namesDeleteVolumeMountPointW(Unicode)和DeleteVolumeMountPointA(ANSI)的 参见 GetVolumeNameForVolumeMountPoint GetVolumePathName SetVolumeMountPoint 卷管理功能 安装文件夹 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年9月3日 ==英文原文==DeleteVolumeMountPoint Function Deletes a drive letter or mounted folder. Syntax C++ BOOL WINAPI DeleteVolumeMountPoint( __in LPCTSTR lpszVolumeMountPoint ); Parameters lpszVolumeMountPoint [in] The drive letter or mounted folder to be deleted. A trailing backslash is required, for example, X:\\ or Y:\\MountX\\. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError . Remarks Deleting a mounted folder does not cause the underlying directory to be deleted. If the lpszVolumeMountPoint parameter is a directory that is not a mounted folder, the function does nothing. The directory is not deleted. To compile an application that uses this function, define the _WIN32_WINNT macro as 0x0500 or later. For more information, see Using the Windows Headers . Examples For an example, see Unmounting a Volume at a Mount Point . Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWinBase.h (include Windows.h) LibraryKernel32.lib DLLKernel32.dll Unicode and ANSI namesDeleteVolumeMountPointW (Unicode) and DeleteVolumeMountPointA (ANSI) See Also GetVolumeNameForVolumeMountPoint GetVolumePathName SetVolumeMountPoint Volume Management Functions Mounted Folders Send comments about this topic to Microsoft Build date: 9/3/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/aa363927(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。