// create a IUnknown pointer
PointerByReference pShellTypeLib = new PointerByReference();
// load typelib
hr = OleAuto.INSTANCE.LoadRegTypeLib(clsid, 1, 0, lcid, pShellTypeLib);
COMUtils.checkRC(hr);
assertEquals(0, hr.intValue());
return new TypeLib(pShellTypeLib.getValue());
}
public void testGetTypeInfoCount() {