Beispiel #1
0
    /// <include file='Windows.xml' path='doc/member[@name="Windows.FreeConfirmConflictItem"]/*' />
    public static void FreeConfirmConflictItem(CONFIRM_CONFLICT_ITEM *pcci)
    {
        if ((pcci->pShellItem) != null)
        {
            _ = pcci->pShellItem->Release();
        }

        CoTaskMemFree(pcci->pszOriginalName);
        CoTaskMemFree(pcci->pszAlternateName);
        CoTaskMemFree(pcci->pszLocationShort);
        CoTaskMemFree(pcci->pszLocationFull);
        Unsafe.InitBlockUnaligned((pcci), 0, ((uint)(sizeof(CONFIRM_CONFLICT_ITEM))));
    }
Beispiel #2
0
 public HRESULT GetItem(uint iIndex, CONFIRM_CONFLICT_ITEM *pItemInfo)
 {
     return(((delegate * unmanaged <ISyncMgrConflictItems *, uint, CONFIRM_CONFLICT_ITEM *, int>)(lpVtbl[4]))((ISyncMgrConflictItems *)Unsafe.AsPointer(ref this), iIndex, pItemInfo));
 }