If the function succeeds, the return value is the number of
characters copied into the string buffer, not including the
terminating null character. If the function fails, the return
value is zero. To get extended error information, call
LlmGetLastError.
The LlmGetProviderName function returns the display name associated
with the specified provider. This is a human-readable string which can be
used for logging, status messages or user interface display.
This function is a convenience wrapper which returns the provider display
name without requiring the caller to retrieve the full provider information
structure using LlmGetProviderInfo.
If the buffer specified by lpszProviderName is not large enough to
contain the entire provider name, the string will be truncated. The value
returned by the function indicates the number of characters copied to the
buffer, not including the terminating null character.