On Thu, Feb 17, 2022 at 03:55:03PM +0200, Gabriel Ivăncescu wrote:
+struct get_endpoint_ids_params +{
- EDataFlow flow;
- DWORD size;
- WCHAR *device_strings;
- HRESULT result;
- unsigned int num;
+};
As already mentioned, it would be better to try to keep this as close as possible to the existing get_endpoint_ids_params in the coreaudio and alsa drivers. i.e. pass a ptr to a (client allocated) struct endpoint array. Sure, the endpoint struct will be slightly different, but once we have all of the drivers converted it'll make harmonising the interface rather easier.
Huw.