"Rolf Kalbermatter" r.kalbermatter@hccnet.nl wrote:
From a quick check it seems to take three parameters, with the first being
a CLSID or other GUID and the other two being DWORDs. The second parameter is checked to be higher than 0 and smaller or equal to 0xDC and the third parameter is checked to be higher than 0 and smaller or equal to 0x454. (This is XP SP2 fully patched). When any of the three parameters are 0, the function sets last error to 0x57 and returns with 0. When the second and third parameter is above the limits the function sets last error to 0x0D and returns with 0. When everything was successful the function returns with 1.
This appears to be a correct description, at least attached test shows exactly the same behaviour as described above. If I add 2 more parameters as Andrey suggested I get a crash due to stack corruption.
This information should be enough to create a stub.