SccRename Function
This function renames a file in the source control system.
SCCRTN SccRename( LPVOID pvContext, HWND hWnd, LPCSTR lpFileName, LPCSTR lpNewName );
The source control plug-in implementation of this function is expected to return one of the following values:
|
Value |
Description |
|---|---|
|
SCC_OK |
The renaming operation completed successfully. |
|
SCC_E_PROJNOTOPEN |
The project is not open under source control. |
|
SCC_E_FILENOTCONTROLLED |
The file is not under source control. |
|
SCC_E_ACCESSFAILURE |
There was a problem accessing the source control system, probably due to network or contention issues. |
|
SCC_E_NOTAUTHORIZED |
The user is not authorized to complete this operation. |
|
SCC_E_COULDNOTCREATEPROJECT |
The project could not be created as part of the renaming process. |
|
SCC_E_OPNOTPERFORMED |
The operation was not performed. |
|
SCC_E_NONSPECIFICERROR |
An unspecified or general error occurred. |