LEADTOOLS Vector C++ Class Library Help > Classes and Member Functions > LVectorFile > LVectorFile Class Members > LVectorFile::GetFileName |
#include "ltwrappr.h"
const L_TCHAR * LVectorFile::GetFileName(L_VOID)
L_INT LVectorFile::GetFileName(pBuffer, puBuffSize)
L_TCHAR * pBuffer; |
/* character string to be updated */ |
L_UINT * puBuffSize; |
/* size of pBuffer */ |
LVectorFile::GetFileName() gets a pointer to the internal file name.
LVectorFile::GetFileName(pBuffer, puBuffSize) gets a copy of the internal file name.
Parameter |
Description |
pBuffer |
Character string that will be updated with the internal file name. |
uBuffSize |
Pointer to a variable to be updated with the size of pBuffer. |
Returns
LVectorFile::GetFileName returns a pointer to the internal file name. You should not attempt to free this pointer.
LVectorFile::GetFileName(pBuffer, uBuffSize) returns the following:
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
|
Functions: |
|
|
Example
For an example, refer to LVectorFile::LVectorFile(pLVector, pFileName).