PBORCA_LibraryEntryExportEx
Description
Exports the source code for a PowerBuilder library entry to a text
buffer.
Syntax
|
1 2 3 4 5 6 7 |
INT PBORCA_LibraryEntryExportEx ( HPBORCA hORCASession, LPTSTR lpszLibraryName, LPTSTR lpszEntryName, PBORCA_TYPE otEntryType, LPTSTR lpszExportBuffer, LONG lExportBufferSize LONG *plReturnSize); |
|
Argument |
Description |
|---|---|
|
hORCASession |
Handle to previously established ORCA |
|
lpszLibraryName |
Pointer to a string whose value is the file name of |
|
lpszEntryName |
Pointer to a string whose value is the name of the |
|
otEntryType |
A value of the PBORCA_TYPE enumerated data type PBORCA_APPLICATION PBORCA_BINARY PBORCA_DATAWINDOW PBORCA_FUNCTION PBORCA_MENU PBORCA_PIPELINE PBORCA_PROJECT PBORCA_PROXYOBJECT PBORCA_QUERY PBORCA_STRUCTURE PBORCA_USEROBJECT PBORCA_WINDOW |
|
lpszExportBuffer |
Pointer to the data buffer in which ORCA stores the |
|
lExportBufferSize |
Size in bytes of lpszExportBuffer. This argument is |
|
*plReturnSize |
The size, in BYTES, of the exported source buffer or |
Return value
INT. Typical return codes are:
|
Return code |
Description |
|---|---|
|
0 PBORCA_OK |
Operation successful |
|
-1 PBORCA_INVALIDPARMS |
Invalid parameter list |
|
-3 PBORCA_OBJNOTFOUND |
Object not found |
|
-4 PBORCA_BADLIBRARY |
Bad library name |
|
-7 PBORCA_LIBIOERROR |
Library I/O error |
|
-10 PBORCA_BUFFERTOOSMALL |
Buffer size is too small |
|
-33 PBORCA_DBCSERROR |
Locale setting error when converting Unicode to |
Usage
This function behaves exactly like PBORCA_LibraryEntryExport, except
that with PBORCA_LibraryEntryExportEx, the size of the exported source is
returned to the caller in the additional *plReturnSize argument.
See also