public static int PackFiles( [MarshalAs(UnmanagedType.LPStr)] string packedFile, [MarshalAs(UnmanagedType.LPStr)] string subPath, [MarshalAs(UnmanagedType.LPStr)] string srcPath, IntPtr addListPtr, int flags) { List <string> addList = TcUtils.ReadStringListAnsi(addListPtr); return(PackFilesInternal(packedFile, subPath, srcPath, addList, (PackFilesFlags)flags)); }
public static int DeleteFiles([MarshalAs(UnmanagedType.LPStr)] string packedFile, IntPtr deleteListPtr) { List <string> deleteList = TcUtils.ReadStringListAnsi(deleteListPtr); return(DeleteFilesInternal(packedFile, deleteList)); }