Sidebar

Using Directory Opus
Configuration
Programming
Reference Section
reference:plugins:plugin_sdk:utility_functions:bumpfilename

BumpFileName(
     LPCTSTR:lpszName,
     LPTSTR:lpszBuffer,
     int:cchBufSize,
     BOOL:fOldFileAndFirstCall
)
→ BOOL

Arguments

lpszName

[in]

lpszBuffer

[out] Buffer to receive the new name.

cchBufSize

[in] Size of the lpszBuffer buffer, in characters.

fOldFileAndFirstCall

[in]

Description

The helper class sets lpszBuffer to an empty string before calling the function, and returns FALSE if cchBufSize is 0 or less.