Not
Bu sayfaya erişim yetkilendirme gerektiriyor. Oturum açmayı veya dizinleri değiştirmeyi deneyebilirsiniz.
Bu sayfaya erişim yetkilendirme gerektiriyor. Dizinleri değiştirmeyi deneyebilirsiniz.
The timeGetDevCaps function queries the timer device to determine its resolution.
Syntax
MMRESULT timeGetDevCaps(
LPTIMECAPS ptc,
UINT cbtc
);
Parameters
ptc
A pointer to a TIMECAPS structure. This structure is filled with information about the resolution of the timer device.
cbtc
The size, in bytes, of the TIMECAPS structure.
Return value
Returns MMSYSERR_NOERROR if successful or an error code otherwise. Possible error codes include the following.
| Return code | Description |
|---|---|
|
General error code. |
|
The ptc parameter is NULL, or the cbtc parameter is invalid, or some other error occurred. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | timeapi.h (include Windows.h) |
| Library | Winmm.lib |
| DLL | Winmm.dll |