IVssComponentEx::GetPostSnapshotFailureMsg method (vswriter.h)
Returns the PostSnapshot failure message string that a writer has set for a given component.
Both writers and requesters can call this method. Writers should call this method after the IVssBackupComponents::DoSnapshotSet asynchronous operation has completed.
HRESULT GetPostSnapshotFailureMsg( [out] BSTR *pbstrFailureMsg );
A pointer to a null-terminated wide character string containing the failure message that describes an error that occurred while processing a PostSnapshot event.
The following are the valid return codes for this method.
||The failure message was successfully obtained.|
||No PostSnapshot failure message was set for the component.|
||One of the parameter values is not valid.|
||The caller is out of memory or other system resources.|
The caller is responsible for freeing the string that the pbstrFailureMsg parameter points to by calling the SysFreeString function.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|
|Header||vswriter.h (include Vss.h, VsWriter.h)|