PBORCA_SccGetLatestVersion
Description
Retrieves the latest version of files from the SCC provider.
Syntax
|
1 2 3 |
INT PBORCA_SccGetLatestVer ( HPBORCA hORCASession, Long nFiles, LPTSTR *ppFileNames ); |
|
Argument |
Description |
|---|---|
|
hORCASession |
Handle to previously established ORCA |
|
nFiles |
Number of files to be retrieved |
|
*ppFileNames |
Names of files to be retrieved |
Return value
INT. Typical return codes are:
|
Return code |
Description |
|---|---|
|
0 PBORCA_OK |
Operation successful |
|
-22 PBORCA_SCCFAILURE |
Operation failure |
Usage
Call this method to retrieve files from source control. Typically,
these are objects that exist outside of a PowerBuilder library but
nevertheless belong to an application. Examples include BMP, JPG, ICO,
DOC, HLP, HTM, JSP, and PBR files.
Examples
The following example:
|
1 2 3 4 5 6 7 |
LPTSTR pOtherFiles[3]; pOtherFiles[0] = _TEXT("c:\qadb\qadbtest\qadbtest.hlp"); pOtherFiles[1] = _TEXT("c:\qadb\datatypes\datatypes.pbr"); pOtherFiles[2] = _TEXT("c:\qadb\qadbtest.bmp"); lpORCA_Info->lReturnCode = PBORCA_SccGetLatestVer (lpORCA_Info->hORCASession, 3, pOtherFiles); |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest