Beispiel #1
0
        public static int PackFilesW(
            [MarshalAs(UnmanagedType.LPWStr)] string packedFile,
            [MarshalAs(UnmanagedType.LPWStr)] string subPath,
            [MarshalAs(UnmanagedType.LPWStr)] string srcPath,
            IntPtr addListPtr, int flags)
        {
            List <string> addList = TcUtils.ReadStringListUni(addListPtr);

            return(PackFilesInternal(packedFile, subPath, srcPath, addList, (PackFilesFlags)flags));
        }
Beispiel #2
0
        public static int DeleteFilesW([MarshalAs(UnmanagedType.LPWStr)] string packedFile, IntPtr deleteListPtr)
        {
            List <string> deleteList = TcUtils.ReadStringListUni(deleteListPtr);

            return(DeleteFilesInternal(packedFile, deleteList));
        }