👩💻 Join our community of thousands of amazing developers!
The ReceiveArray pattern is the Windows Runtime pattern for how a function can return a C-style conformant array to its caller. In C++/WinRT, the projected version of the function is // [out] parameter void M(com_array<T>& value); // return value com_array<T> M(); The post How can my C++/WinRT component pass a <CODE>std::vector</CODE> back to the caller? appeared first on The Old New Thing....