I am working on a RedRat code project for my job these days. The RedRat is a device that can be used to control 16 IR outputs, and my plan is to use this for testing of STBs with my own program.
For those interested >>
I've been working with code before in C# and Java, but this is the first time I really delve into C++. And apart from a universe of new things to learn (especially windows specific things) I have stumbled across some function arguments that I do not understand.
In the RedRat COM API there are two particular functions:
- HRESULT FindRedRat4s([out, retval] SAFEARRAY(BSTR)* pRetVal);
- My questions is: what is the definition of [out] and [retval] specifications, and what do they mean in practice?
- HRESULT GetRedRat4(
- [in] BSTR rr4Name,
- [out, retval] ICCWRedRat4** pRetVal);
- What does the double ** mean?
Hope you can help with this :-)