Description
-
Provides a string expression describing a state.
Return type
-
A Long value. If successful, 0 is returned, otherwise
error as specified here.
Syntax
-
long Sftp_GetStateText(void *Sftp,
StatesEnum State, char *Buffer, int *Bufsize);
The StateText function syntax has these parts:
Remarks
-
The StateText function will return a text description of a
value supplied by the State parameter.
For a list of possible states, please see the StatesEnum page.
The Bufsize variable should contain the maximum data length
that can be stored in the Buffer variable. If you set Bufsize =
0, then the function will return with error
ERROR_INSUFFICIENT_BUFFER and Bufsize will contain the required
buffer size.
|