IVMVirtualServer::QueryLocale method
The QueryLocale method returns the preferred Virtual Server service locale selected from the set of languages specified by an RFC-2616 compliant language string.
Syntax
HRESULT QueryLocale(
[in] BSTR inLanguage,
[out] ULONG *outLocale
);
Parameters
-
inLanguage [in]
-
RFC-2616 compliant language string.
-
outLocale [out]
-
Retrieves the value of the desired Windows Locale ID selected from the inLanguage parameter.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The operation was successful. |
|
The outLocale parameter is NULL. |
|
An unexpected error occurred. |
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|