# timeGetDevCaps

```csharp
[DllImport("winmm.dll", SetLastError = true)]
public static extern uint timeGetDevCaps(
   ref TIMECAPS ptc,
   uint cbtc
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/windows/win32/api/timeapi/nf-timeapi-timegetdevcaps)
