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
LTFIL

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:

Class Members

Functions:

Vector Loading, Saving and Copying

 

Vector Images: Loading and Saving Vector Files

Example

For an example, refer to LVectorFile::LVectorFile(pLVector, pFileName).