9.1.10 Query Displayable Parameter Name

NcDetectParameterName accepts the name of a parameter and outputs a language-sensitive displayable name. The function prototype is as follows:

LONG NcDetectParameterName(
WCHAR *pwchParam,
WCHAR
   *pwchBuffer,
LONG
   cwchBufferSize
);

Parameters

pwchParam
Points to a buffered Unicode string naming the parameter.
pwchBuffer
Points to a buffer in which this function returns a locale-specific displayable name.
cwchBuffSize
Specifies the size in bytes of the buffer at pwchBuffer.

Comments

If the function returns ERROR_INVALID_PARAMETER, the upper-level components are responsible for providing a displayable name.