FindVolumeMountPointClose

指定されたマウントフォルダ検索ハンドルを閉じる。

FindVolumeMountPointClose hFindVolumeMountPoint

hFindVolumeMountPoint : [intptr] 閉じるマウントフォルダ検索ハンドル。このハンドルは以前に FindFirstVolumeMountPoint 関数によって開かれていなければならない。

(プラグイン / モジュール : kernel32.dll)

解説

指定されたマウントフォルダ検索ハンドルを閉じる。

[戻り値]
関数が成功した場合、戻り値は 0 以外である。関数が失敗した場合、戻り値は 0 となる。拡張エラー情報を取得するには
GetLastError を呼ぶ。

[備考]
FindVolumeMountPointClose 関数を呼び出した後、ハンドル hFindVolumeMountPoint は
FindNextVolumeMountPoint または FindVolumeMountPointClose
の以降の呼び出しで使用できなくなる。FindFirstVolumeMountPoint、FindNextVolumeMountPoint、FindVolumeMountPointClose
関数は指定されたボリュームのマウントフォルダへのパスを返す。これらはドライブ文字やボリューム GUID
パスを返さない。ボリュームのボリューム GUID パスを列挙する方法については Enumerating Volume GUID Paths
を参照。Windows 8 および Windows Server 2012 では、この関数は次の技術でサポートされる。
(以下省略)

情報

プラグイン / モジュールkernel32.dll
バージョン1.0
作成日2026/04/16
著作者IronHSP / CsWin32 bridge
URLhttps://github.com/inovia/IronHSP
備考Win32 API の kernel32.dll 関数群。CsWin32 + win32metadata から自動生成。
hsp3net 専用 (intptr / NSTRUCT / wstr を使用)。
タイプ拡張命令
グループWin32API
対応環境
  • Windows 版 HSP
hs ファイルhsphelp\win32_kernel32_gen2.hs