Sidebar

Using Directory Opus
Configuration
Programming
Reference Section
reference:plugins:plugin_sdk:utility_functions:numtostrtimesecsw

NumToStrTimeSecsW(
     DWORD:dwSeconds,
     LPWSTR:lpszBuffer,
     int:cchBufSize,
     BOOL:fWords
)
→ void

Arguments

dwSeconds

[in] The number of seconds.

lpszBuffer

[out] Buffer to receive the string.

cchBufSize

[in] Size of the lpszBuffer buffer, in characters.

fWords

[in] (Helper class default: TRUE)

Return value

None.

Description

The NumToStrTimeSecsW function converts a number of seconds to a string.

The helper class sets lpszBuffer to an empty string before calling the function.