They call the list of something kind of devices "Endpoints".
*
- | - | - | - | - | - | - | - |
- | HRESULT EnumAudioEndpoints( [in] EDataFlow dataFlow, [in] DWORD dwStateMask, [out] IMMDeviceCollection **ppDevices ); |
- | - | - | - | - | - |
- | hr = pDevEnum->EnumAudioEndpoints( eRender, DEVICE_STATE_ACTIVE, &pEndpoints); |
- | - | - | - | - | - |
- | typedef enum __MIDL___MIDL_itf_mmdeviceapi_0000_0000_0001 { eRender = 0, eCapture, eAll, EDataFlow_enum_count } EDataFlow; |
- | - | - | - | - | - |
- | IMMDeviceEnumerator::GetDefaultAudioEndpoint | - | - | - | - | - | - |
- | IMMDeviceEnumerator (mmdeviceapi.h) - Win32 apps | Microsoft Learn | - | - | - | - | - | - |
*
You shouldn't think of being able to compile the microsoft minor includion.
Open the source code, which is the developper any starts.
Data structure is different only, from 64bit Windows.
*Download
- | Very thanks to: | - | - |
- |
includion: |
- | - |
- | - | - | |
- | - | - | - |
- | - | - | - |
*
- | - | - | - | - | - | - | - |
1 | - | 1-1. windows.h attached program device open: 1-2. send message like a device name "sound card 01". |
[1],[2],[3] | - | - | - | - |
2 | - | 2-1. 2-2. send message like a device name "sound card 01". 2-3. consider fopen function. |
- | - | - | - | - |
3 | - | 3-1. read a binary *.o on 1-2 for putting the way to 2-1. 3-2. |
- | - | - | - | - |
4 | - | 4-1. search and Find a device name connected to personal computer on windows programming. 4-2. " " 4-3. "Microsoft " |
- | - | - | - | - |
5 | - | 5-1. Open a devise number if you know it. | [1],[2] | - | - | - | - |
*DEFINE_GUID
- | - | - | - | - | - | - | - |
[1] |
.\winmain_001.cpp File modified time Mon Apr 10 12:49:56 2023 ... 111 :#define CX_MARGIN 12 ... * We can use macro DEFINE_GUID in migw compilation. |
- | - | - | - | - | - |
[2] |
* |
- | - | - | - | - | - |
[3] |
Sounds device id has changed so many times and we can hear that sounds well on windows. But that includes "mmdeviceapi.h". souds device id: |
- | - | - | - | - | - |
- | - | - | - | - | - | - | - |
- | - | - | - | - | - | - | - |
- | - | - | - | - | - | - | - |
- | - | - | - | - | - | - | - |
- | - | - | - | - | - | - | - |
- | - | - | - | - | - | - | - |
- | - | - | - | - | - | - | - |
- | - | - | - | - | - | - | - |
- | - | - | - | - | - | - | - |
* All Cpus are type of x86.
- | 32(bit) OS | 64(bit) OS | - | - | - |
x86 compilation (debug 32) | - | - | - | - | - |
renamed x64 - (debug 64) | - | - | - | - | - |
Program Files (x86) | v | - | - | - | - |
Program Files | - | Most but Not all | - | - | - |
- | - | - | - | - | - |
- | - | - | - | - | - |
- | - | - | - | - | - |