Windows Dev Center

IsFileOnClusterSharedVolume function

Specifies whether the file is on the cluster shared volume.

Syntax


DWORD WINAPI IsFileOnClusterSharedVolume(
  _In_  LPCWSTR lpszPathName,
  _Out_ PBOOL   pbFileIsOnSharedVolume
);

typedef DWORD (WINAPI *PCLUSAPI_IS_FILE_ON_CLUSTER_SHARED_VOLUME)(
    _In_  LPCWSTR lpszPathName,
    _Out_ PBOOL   pbFileIsOnSharedVolume
);

Parameters

lpszPathName [in]

A Unicode string that specifies the path of the cluster shared volume. The string ends with a terminating null character.

pbFileIsOnSharedVolume [out]

True if the file is on the cluster shared volume; otherwise false.

Return value

If the function succeeds, it returns ERROR_SUCCESS.

If the function fails, it returns one of the system error codes.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise

Header

ClusAPI.h

Library

ClusAPI.lib

DLL

ClusAPI.dll

See also

Failover Cluster Resource Management Functions

 

 

Show:
© 2015 Microsoft