final int parentSize = (int)(lastItemId.shortLockPointer() - absoluteItemId.shortLockPointer());
lastItemId.unlock();
absoluteItemId.unlock();
Int8Pointer resPtr = nb.createInt8Pointer(parentSize + 2, true); // !!! should be in native mem
resPtr.copy(absoluteItemId, 0, parentSize);
resPtr.copy(lastItemId.getElementPointer(getItemIDListSize(lastItemId) - 2), parentSize, 2);
return win32.createITEMIDLIST(resPtr);
}
public static boolean isRoot(final Win32.ITEMIDLIST itemId) {