Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The VSS service calls this method to notify hardware providers of a LUN state change.
HRESULT OnLunStateChange(
[in] VDS_LUN_INFORMATION *pSnapshotLuns,
[in] VDS_LUN_INFORMATION *pOriginalLuns,
[in] DWORD dwCount,
[in] DWORD dwFlags
);
[in] pSnapshotLuns
A pointer to an array of dwCount VDS_LUN_INFORMATION structures, one for each LUN that contributes to the shadow copy volume.
[in] pOriginalLuns
A pointer to an array of dwCount VDS_LUN_INFORMATION structures, one for each LUN that contributes to the original volume.
[in] dwCount
Number of elements in the pSnapshotLuns array. This is also the number of elements in the pOriginalLuns array.
[in] dwFlags
A bitmask of _VSS_HARDWARE_OPTIONS flags that provide information about the state change that the shadow copy LUNs have undergone. The following table describes how each flag is used in this parameter.
This method can return one of these values.
Return code/value | Description |
---|---|
|
The operation was successfully completed. |
|
Out of memory or other system resources. |
|
One of the parameter values is not valid. |
|
An unexpected provider error occurred. If this is returned, the error must be described in an entry in the application event log, giving the user information on how to resolve the problem. |
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | vsprov.h |