[#BloombergLP-baltzo-WindowsTimeZoneUtil-getWindowsTimeZoneId]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/WindowsTimeZoneUtil.adoc[WindowsTimeZoneUtil]::getWindowsTimeZoneId
:relfileprefix: ../../../
:mrdocs:

Load the Windows time&hyphen;zone identifier for `zoneinfoId`&period;

== Synopsis

Declared in `&lt;baltzo&lowbar;windowstimezoneutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
getWindowsTimeZoneId(
    char const** result,
    char const* zoneinfoId);
----

== Description

Load into the specified `result` the address of a 0 terminated C&hyphen;string containing the Windows time&hyphen;zone identifier for the specified `zoneinfoId`&period; Return 0 on success, and non&hyphen;zero value with no other effect otherwise&period; The returned address is valid for the life&hyphen;time of the process&period;

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| receives the Windows time&hyphen;zone identifier
| *zoneinfoId*
| Zoneinfo time&hyphen;zone identifier to map
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
