lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

I am trying to call a COM method from Lua by using LuaCOM.
The signature is as follow:
HRESULT GetAPEncodedData(
                     VARIANT* APName,
                     VARIANT* Realm,
                     VARIANT* EncodedData,
                     [out, retval] long* pVal);

Directional attribute [in], [out] is not specified.
EncodedData is the parameter that this method will store its result in.
My question is:

1. Will LuaCOM return all the values of VARIANT* type parameters?
2. If not, is there any way in LuaCOM to get the result value of EncodedData?

Thanks in advance.

-- Jei-Wen Teng