PrfQueryProfileString - Errors
Possible returns from
WinGetLastError
PMERR_INVALID_PARM (0x1303)
A parameter to the function contained invalid data.
PMERR_BUFFER_TOO_SMALL (0x110B)
The supplied buffer was not large enough for the data to be returned.
PMERR_NOT_IN_IDX (0x1304)
The application name, key-name or program handle was not found.
PMERR_CAN_NOT_CALL_SPOOLER (0x130D)
An error occurred attempting to call the spooler validation routine. This error is not raised if the spooler is not installed.
PMERR_INVALID_ASCIIZ (0x130C)
The profile string is not a valid zero-terminated string.
[Back: PrfQueryProfileString - Remarks]
[Next: PrfQueryProfileString - Related Functions]