SRRemoveRestorePoint function

Deletes the specified restore point.

Syntax

DWORD SRRemoveRestorePoint(
  DWORD dwRPNum
);

Parameters

dwRPNum

The sequence number of the restore point.

Return Value

If the function succeeds, the return value is ERROR_SUCCESS.

If the specified restore point does not exist or cannot be removed, the return value is ERROR_INVALID_DATA. All other error codes indicate an internal error.

Remarks

Applications should not call System Restore functions using load-time dynamic linking. Instead, use the LoadLibrary function to load SrClient.dll and GetProcAddress to call the function.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header srrestoreptapi.h
DLL SrClient.dll

See Also

SRSetRestorePoint