timeGetDevCaps function
- 2018. 12. 05.
- 읽는 데 2분
The timeGetDevCaps function queries the timer device to determine its resolution.
Syntax
C++복사
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.
테이블 1Return codeDescription
MMSYSERR_ERROR | General error code. |
TIMERR_NOCANDO | The ptc parameter is NULL, or the cbtc parameter is invalid, or some other error occurred. |
Requirements
테이블 2
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 |
See also
'C++' 카테고리의 다른 글
1. WSAStartUp (0) | 2017.03.14 |
---|---|
cpp, h등의 이동으로 미리 컴파일된 헤더가 재갱신이 되지않았을때... (0) | 2016.12.10 |
MFC 탭 컨트롤러 추가할때 afxcmn.inl 에러(사실 DDX_Control에러) (0) | 2016.12.10 |
DirectInput 링커 에러 (0) | 2016.10.27 |
Socket 함수 (0) | 2016.08.21 |