Parameter | Description |
---|---|
Data String | A 2-byte string that must be one of the following:
[space][space] This (current) field.
T[space] This (current) field.
P[space] Previous field (protected or unprotected).
N[space] Next field (protected or unprotected).
NP Next Protected field.
NU Next Unprotected field.
PP Previous Protected field.
PU Previous Unprotected field.
|
Data Length | NA (length of 2 is implied). |
PS Position | The position in the Host session presentation space where the find starts. |
Parameter | Description |
---|---|
0 | If Return Code = 28, the field length is zero. If Return Code = 24, the Host session presentation space is unformatted. |
>0 | Starting position of the requested field. |
Code | Description |
---|---|
WHLLOK | The search string was found. |
WHLLNOTCONNECTED | Your Windows HLLAPI application is currently not connected to a session. |
WHLLPARAMETERERROR | One or more of the call parameters are invalid. |
WHLLPOSITIONERROR | Invalid value specified for PS Position. |
WHLLSYSERROR | The function failed due to a system error. |
WHLLNOFIELD | The search string was not found, or the Host session presentation space is unformatted. |
WHLLZEROLENFIELD | The specified field has a length of zero. |