|
View Poll Results: Вы исполбзуете WinAPI ? | |||
да | 7 | 25.00% | |
нет | 4 | 14.29% | |
а что это??? | 17 | 60.71% | |
Ті, хто голосували: 28. You may not vote on this poll |
|
Опції теми | Опції перегляду |
25-12-2006, 01:40 | #11 | |
Юзер
Реєстрація: Mar 2005
Повідомлення: 30
|
Цитата:
|
|
25-12-2006, 01:43 | #12 | |
Старожил
|
Цитата:
|
|
25-12-2006, 01:45 | #13 | |
Юзер
Реєстрація: Mar 2005
Повідомлення: 30
|
Цитата:
Подробней http://ru.wikipedia.org/wiki/WinAPI |
|
25-12-2006, 01:46 | #14 |
Юзер
Реєстрація: Aug 2006
Повідомлення: 27
|
Кто игрался со звуком на апишках????
просто через МФЦ работает а через апи не хтит.... |
25-12-2006, 01:50 | #15 | |
Юзер
Реєстрація: Mar 2005
Повідомлення: 30
|
Цитата:
|
|
25-12-2006, 01:53 | #16 | |
Юзер
Реєстрація: Mar 2005
Повідомлення: 30
|
Цитата:
BOOL PlaySound( LPCSTR pszSound, HMODULE hmod, DWORD fdwSound ); Note: in order to use this function you must include the library header: mmsystem.h and link your project to winmm.lib (the multi media library). pszSound - this is the filename of the sound you wish to play, e.g. "explosion.wav". It can also be a loaded resource. hmod - this is always NULL if the above is a filename fdwSound - this is a combination of flags determining the meaning of the other parameters and some options on playing a sound. e.g. specifying SND_FILENAME | SND_ASYNC means pszSound is a filename and that the sound should be played asynchronously (the PlaySound call will exit immediately) .For other flags look in the MSDN help file. The function returns true if it was successful or false if it failed. If it fails it is often because the sound file has not been found. To play an explosion that loops we could write: PlaySound("explosion.wav", NULL, SND_FILENAME | SND_ASYNC | SND_LOOP); Only one sound can play at once so if you play another sound before the first is finished it will be cut off. You can also stop a sound playing by passing NULL as the pszSound parameter. http://msdn.microsoft.com/library/de...d_function.asp |
|
26-12-2006, 21:59 | #17 | |
Читатель
Реєстрація: Dec 2006
Повідомлення: 71
|
Цитата:
|
|
27-12-2006, 00:26 | #18 | |
Гигант мысли
Реєстрація: Dec 2006
Адреса: Порубежье
Повідомлення: 1,052
|
Цитата:
|
|
27-12-2006, 02:46 | #19 | |
Читатель
Реєстрація: Dec 2006
Повідомлення: 71
|
Цитата:
з.ы.А на ХР проверял? |
|
27-12-2006, 04:14 | #20 | |
Юзер
Реєстрація: Dec 2006
Повідомлення: 6
|
MD5 нах
Цитата:
Во-вторых - а фигли ты вообще тут делаешь ? Тема топика - WinAPI, а не JavaScript и MD5 Hashes |
|
|
|