###User Defined Function###
_WinAPI_GetDurationFormat

###Description###
Formats a duration of time as a time string for a locale specified by identifier.

###Syntax###
#include <WinAPILocale.au3>
_WinAPI_GetDurationFormat ( $LCID, $iDuration [, $sFormat = ''] )


###Parameters###
@@ParamTable@@
$LCID
	The locale identifier (LCID) that specifies the locale or one of the following predefined values:
		$LOCALE_INVARIANT
		$LOCALE_SYSTEM_DEFAULT
		$LOCALE_USER_DEFAULT
	<strong>Windows Vista or later</strong>
		$LOCALE_CUSTOM_DEFAULT
		$LOCALE_CUSTOM_UI_DEFAULT
		$LOCALE_CUSTOM_UNSPECIFIED
$iDuration
	The number of 100-nanosecond intervals in the duration.
	Alternatively, this parameter can be a $tagSYSTEMTIME structure that contains the time duration information to format.
$sFormat
	[optional] The string that is used to form the duration. For example, "hh:mm:ss.ff".
	If this parameter is omitted or an empty string (Default), the function returns the string according to the duration format for the specified locale.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	The formatted duration string.
Failure 	Empty string, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information.
@@End@@


###Remarks###
This function requires <strong>Windows Vista or later</strong>.


###Related###


###See Also###
@@MsdnLink@@ GetDurationFormat


###Example###
@@IncludeExample@@
