timeGetDevCaps (winmm)
Last changed: -80.109.134.50

.
Summary
The timeGetDevCaps function queries the timer device to determine its resolution.

C# Signature:

[DllImport("winmm.dll", SetLastError=true)]
static extern UInt32 timeGetDevCaps( ref TimeCaps timeCaps,
            UInt32 sizeTimeCaps );

VB Signature:

Declare Function timeGetDevCaps Lib "winmm.dll" (ByRef lpTimeCaps As TimeCaps, ByVal uSize As UInt32) As UInt32

User-Defined Types:

http://www.pinvoke.net/default.aspx/Structures.TimeCaps

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

Returns TIMERR_NOERROR if successful or TIMERR_STRUCT if it fails to return the timer device capabilities.

TIMERR_NOERROR is defined as UInt32 0 value.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation