The GetProviderFlags method retrieves the capability flags
associated with the specified provider. These flags describe the features
and requirements supported by the provider, such as whether authentication
is required or if model enumeration is available.
The value returned in lpdwFlags may contain one or more
LLM_PROVIDER_FLAG values combined with a bitwise OR operation. If no
capabilities are defined for the provider, the value will be
LLM_PROVIDER_FLAG_NONE.
This method does not require an active client session and can be used
to query provider capabilities before establishing a connection. This can
be useful when determining how to configure a session or which features are
available for a given provider.
If dwProviderId specifies an invalid provider, the method fails
and returns zero.