水無瀬の部屋 > Programming > sample > tools > mci > toolmci.h |
---|
1: //*********************************************************
2: // プロジェクト: TOOLS
3: // ファイル名: toolmci.h
4: //*********************************************************
5: #ifndef TOOL_MCI_HEAD_INCLUDED // 多重インクルードの防止
6: #define TOOL_MCI_HEAD_INCLUDED
7:
8:
9: //*********************************************************
10: // コンパイル環境の指定
11: //*********************************************************
12: #ifndef PRIVATE_TOOLS_HEAD_INCLUDED // 冗長ガード
13: #include <header/_tools.h>
14: #ifndef PRIVATE_TOOLS_HEAD_INCLUDED // ガード名の検査
15: #error "? PRIVATE_TOOLS_HEAD_INCLUDED"
16: #endif // #ifndef PRIVATE_TOOLS_HEAD_INCLUDED
17: #endif // #ifndef PRIVATE_TOOLS_HEAD_INCLUDED
18:
19:
20: //*********************************************************
21: // 関数 の 宣言
22: //*********************************************************
23: #ifdef __cplusplus
24: extern "C" {
25: #endif
26:
27:
28: // toolmci.cpp
29: bool MCI_Close( HWND hWnd, MCIDEVICEID mciID, DWORD flags );
30: bool MCI_DoorClose( HWND hWnd, MCIDEVICEID mciID, DWORD flags );
31: bool MCI_DoorOpen( HWND hWnd, MCIDEVICEID mciID, DWORD flags );
32: bool MCI_GetStatusMode( HWND hWnd, MCIDEVICEID mciID, DWORD flags, DWORD *dwMode );
33: bool MCI_GetStatusPosition( HWND hWnd, MCIDEVICEID mciID, DWORD flags, DWORD *dwPos );
34: bool MCI_GetTimeFormat( HWND hWnd, MCIDEVICEID mciID, DWORD flags, DWORD *dwTimeFormat );
35: bool MCI_GetTrackLength( HWND hWnd, MCIDEVICEID mciID, int nTrack, DWORD flags, DWORD *dwLength );
36: bool MCI_GetTrackCount( HWND hWnd, MCIDEVICEID mciID, DWORD flags, DWORD *dwTracks );
37: bool MCI_GetTrackType( HWND hWnd, MCIDEVICEID mciID, int nTrack, DWORD flags, DWORD *dwType );
38: bool MCI_IsValidTrackNum( HWND hWnd, MCIDEVICEID mciID, int nTrack );
39: bool MCI_Open( HWND hWnd, const char *device, const char *element, DWORD flags, MCIDEVICEID *mciID );
40: bool MCI_Pause( HWND hWnd, MCIDEVICEID mciID, DWORD flags );
41: bool MCI_Play( HWND hWnd, MCIDEVICEID mciID, DWORD flags, DWORD dwFrom, DWORD dwTo );
42: bool MCI_Resume( HWND hWnd, MCIDEVICEID mciID, DWORD flags );
43: bool MCI_SendCloseCommand( MCIDEVICEID mciID, DWORD flags, MCI_GENERIC_PARMS *mgp );
44: bool MCI_SendOpenCommand( DWORD flags, MCI_OPEN_PARMS *mop );
45: bool MCI_SendPauseCommand( MCIDEVICEID mciID, DWORD flags, MCI_GENERIC_PARMS *mgp );
46: bool MCI_SendPlayCommand( MCIDEVICEID mciID, DWORD flags, MCI_PLAY_PARMS *mpp );
47: bool MCI_SendResumeCommand( MCIDEVICEID mciID, DWORD flags, MCI_GENERIC_PARMS *mgp );
48: bool MCI_SendSetCommand( MCIDEVICEID mciID, DWORD flags, MCI_SET_PARMS *msp );
49: bool MCI_SendStatusCommand( MCIDEVICEID mciID, DWORD flags, MCI_STATUS_PARMS *msp );
50: bool MCI_SendStopCommand( MCIDEVICEID mciID, DWORD flags, MCI_GENERIC_PARMS *mgp );
51: bool MCI_SetTimeFormat( HWND hWnd, MCIDEVICEID mciID, DWORD flags, DWORD dwTimeFormat );
52: bool MCI_Stop( HWND hWnd, MCIDEVICEID mciID, DWORD flags );
53:
54:
55: #ifdef __cplusplus
56: } // extern "C"
57: #endif
58:
59:
60: #endif // #ifndef TOOL_MCI_HEAD_INCLUDED
61:
62:
63: //** end **
参照:
toolmci.cpp
水無瀬の部屋 > sample > tools > mci > toolmci.h |
---|
このページは cpp2web が出力しました。
水無瀬 優 postmaster@katsura-kotonoha.sakura.ne.jp
http://katsura-kotonoha.sakura.ne.jp/prog/code/tools/mci/toolmci_h.shtml