Develop and Download Open Source Software

Browse Subversion Repository

Contents of /branches/mty-makai/hikou.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 247 - (show annotations) (download) (as text)
Mon Jun 14 09:06:25 2010 UTC (13 years, 9 months ago) by notanpe
File MIME type: text/x-csrc
File size: 438 byte(s)
秘孔をつくのだ!
1 #include <stdio.h>
2 #include <windows.h>
3
4 main()
5 {
6 TIMECAPS tc;
7
8 if ( timeGetDevCaps( &tc, sizeof( TIMECAPS ) ) != MMSYSERR_NOERROR ) {
9 printf( "秘孔の位置が見えないッ!\n" );
10 exit( 1 );
11 }
12
13 printf( "秘孔は %d だッ!\n", tc.wPeriodMin );
14
15 if ( timeBeginPeriod( tc.wPeriodMin ) != TIMERR_NOERROR ) {
16 printf( "秘孔がつけないだとッ!\n" );
17 exit( 1 );
18 }
19 Sleep( INFINITE );
20 timeEndPeriod( 1 );
21 }

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26