Syntax:
INT LlStgsysSetPageOptionString (HLLSTG hStg, INT nPageIndex, INT nOption, LPCTSTR pszBuffer);
Task:
Set string values.
Parameter:
hStg: The handle returned by LlStgsysStorageOpen()
nPageIndex: Page index (1..LlStgsysGetPageCount())
nOption: Chooses the meaning of the contents value
Value |
Meaning |
LS_OPTION_JOBNAME |
New job name |
LS_OPTION_USER |
A user-specific value The user can insert a user-specific string, for example a user name, print date etc. into the storage file. |
pszBuffer: Address of a 0-terminated string
Return value:
Error code
Hints:
Of course, the storage file may not be opened with bReadOnly = TRUE!
Example:
LlStgsysSetJob(hStg, 1);
LlStgsysSetPageOption(hStg,
1, LS_OPTION_USER, "Letters A-B");
See also:
LlStgsysGetPageOptionValue