Definicion terminada
This commit is contained in:
parent
8bade258cc
commit
be61956a54
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,83 @@
|
|||
namespace WindowsApplication1
|
||||
{
|
||||
partial class Form1
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.listBox1 = new System.Windows.Forms.ListBox();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(250, 12);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(84, 20);
|
||||
this.button1.TabIndex = 0;
|
||||
this.button1.Text = "Search";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// listBox1
|
||||
//
|
||||
this.listBox1.FormattingEnabled = true;
|
||||
this.listBox1.Location = new System.Drawing.Point(12, 38);
|
||||
this.listBox1.Name = "listBox1";
|
||||
this.listBox1.Size = new System.Drawing.Size(762, 498);
|
||||
this.listBox1.TabIndex = 2;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(12, 12);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(232, 20);
|
||||
this.textBox1.TabIndex = 3;
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(786, 553);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.listBox1);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Name = "Form1";
|
||||
this.Text = "Form1";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.ListBox listBox1;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,260 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace WindowsApplication1
|
||||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
const int EVERYTHING_OK = 0;
|
||||
const int EVERYTHING_ERROR_MEMORY = 1;
|
||||
const int EVERYTHING_ERROR_IPC = 2;
|
||||
const int EVERYTHING_ERROR_REGISTERCLASSEX = 3;
|
||||
const int EVERYTHING_ERROR_CREATEWINDOW = 4;
|
||||
const int EVERYTHING_ERROR_CREATETHREAD = 5;
|
||||
const int EVERYTHING_ERROR_INVALIDINDEX = 6;
|
||||
const int EVERYTHING_ERROR_INVALIDCALL = 7;
|
||||
|
||||
const int EVERYTHING_REQUEST_FILE_NAME = 0x00000001;
|
||||
const int EVERYTHING_REQUEST_PATH = 0x00000002;
|
||||
const int EVERYTHING_REQUEST_FULL_PATH_AND_FILE_NAME = 0x00000004;
|
||||
const int EVERYTHING_REQUEST_EXTENSION = 0x00000008;
|
||||
const int EVERYTHING_REQUEST_SIZE = 0x00000010;
|
||||
const int EVERYTHING_REQUEST_DATE_CREATED = 0x00000020;
|
||||
const int EVERYTHING_REQUEST_DATE_MODIFIED = 0x00000040;
|
||||
const int EVERYTHING_REQUEST_DATE_ACCESSED = 0x00000080;
|
||||
const int EVERYTHING_REQUEST_ATTRIBUTES = 0x00000100;
|
||||
const int EVERYTHING_REQUEST_FILE_LIST_FILE_NAME = 0x00000200;
|
||||
const int EVERYTHING_REQUEST_RUN_COUNT = 0x00000400;
|
||||
const int EVERYTHING_REQUEST_DATE_RUN = 0x00000800;
|
||||
const int EVERYTHING_REQUEST_DATE_RECENTLY_CHANGED = 0x00001000;
|
||||
const int EVERYTHING_REQUEST_HIGHLIGHTED_FILE_NAME = 0x00002000;
|
||||
const int EVERYTHING_REQUEST_HIGHLIGHTED_PATH = 0x00004000;
|
||||
const int EVERYTHING_REQUEST_HIGHLIGHTED_FULL_PATH_AND_FILE_NAME = 0x00008000;
|
||||
|
||||
const int EVERYTHING_SORT_NAME_ASCENDING = 1;
|
||||
const int EVERYTHING_SORT_NAME_DESCENDING = 2;
|
||||
const int EVERYTHING_SORT_PATH_ASCENDING = 3;
|
||||
const int EVERYTHING_SORT_PATH_DESCENDING = 4;
|
||||
const int EVERYTHING_SORT_SIZE_ASCENDING = 5;
|
||||
const int EVERYTHING_SORT_SIZE_DESCENDING = 6;
|
||||
const int EVERYTHING_SORT_EXTENSION_ASCENDING = 7;
|
||||
const int EVERYTHING_SORT_EXTENSION_DESCENDING = 8;
|
||||
const int EVERYTHING_SORT_TYPE_NAME_ASCENDING = 9;
|
||||
const int EVERYTHING_SORT_TYPE_NAME_DESCENDING = 10;
|
||||
const int EVERYTHING_SORT_DATE_CREATED_ASCENDING = 11;
|
||||
const int EVERYTHING_SORT_DATE_CREATED_DESCENDING = 12;
|
||||
const int EVERYTHING_SORT_DATE_MODIFIED_ASCENDING = 13;
|
||||
const int EVERYTHING_SORT_DATE_MODIFIED_DESCENDING = 14;
|
||||
const int EVERYTHING_SORT_ATTRIBUTES_ASCENDING = 15;
|
||||
const int EVERYTHING_SORT_ATTRIBUTES_DESCENDING = 16;
|
||||
const int EVERYTHING_SORT_FILE_LIST_FILENAME_ASCENDING = 17;
|
||||
const int EVERYTHING_SORT_FILE_LIST_FILENAME_DESCENDING = 18;
|
||||
const int EVERYTHING_SORT_RUN_COUNT_ASCENDING = 19;
|
||||
const int EVERYTHING_SORT_RUN_COUNT_DESCENDING = 20;
|
||||
const int EVERYTHING_SORT_DATE_RECENTLY_CHANGED_ASCENDING = 21;
|
||||
const int EVERYTHING_SORT_DATE_RECENTLY_CHANGED_DESCENDING = 22;
|
||||
const int EVERYTHING_SORT_DATE_ACCESSED_ASCENDING = 23;
|
||||
const int EVERYTHING_SORT_DATE_ACCESSED_DESCENDING= 24;
|
||||
const int EVERYTHING_SORT_DATE_RUN_ASCENDING = 25;
|
||||
const int EVERYTHING_SORT_DATE_RUN_DESCENDING = 26;
|
||||
|
||||
const int EVERYTHING_TARGET_MACHINE_X86 = 1;
|
||||
const int EVERYTHING_TARGET_MACHINE_X64 = 2;
|
||||
const int EVERYTHING_TARGET_MACHINE_ARM = 3;
|
||||
|
||||
[DllImport("Everything32.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern UInt32 Everything_SetSearchW(string lpSearchString);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern void Everything_SetMatchPath(bool bEnable);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern void Everything_SetMatchCase(bool bEnable);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern void Everything_SetMatchWholeWord(bool bEnable);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern void Everything_SetRegex(bool bEnable);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern void Everything_SetMax(UInt32 dwMax);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern void Everything_SetOffset(UInt32 dwOffset);
|
||||
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_GetMatchPath();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_GetMatchCase();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_GetMatchWholeWord();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_GetRegex();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetMax();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetOffset();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern IntPtr Everything_GetSearchW();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetLastError();
|
||||
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_QueryW(bool bWait);
|
||||
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern void Everything_SortResultsByPath();
|
||||
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetNumFileResults();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetNumFolderResults();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetNumResults();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetTotFileResults();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetTotFolderResults();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetTotResults();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_IsVolumeResult(UInt32 nIndex);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_IsFolderResult(UInt32 nIndex);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_IsFileResult(UInt32 nIndex);
|
||||
[DllImport("Everything32.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern void Everything_GetResultFullPathName(UInt32 nIndex, StringBuilder lpString, UInt32 nMaxCount);
|
||||
[DllImport("Everything32.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultPath(UInt32 nIndex);
|
||||
[DllImport("Everything32.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultFileName(UInt32 nIndex);
|
||||
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern void Everything_Reset();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern void Everything_CleanUp();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetMajorVersion();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetMinorVersion();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetRevision();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetBuildNumber();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_Exit();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_IsDBLoaded();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_IsAdmin();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_IsAppData();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_RebuildDB();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_UpdateAllFolderIndexes();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_SaveDB();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_SaveRunHistory();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_DeleteRunHistory();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetTargetMachine();
|
||||
|
||||
// Everything 1.4
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern void Everything_SetSort(UInt32 dwSortType);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetSort();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetResultListSort();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern void Everything_SetRequestFlags(UInt32 dwRequestFlags);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetRequestFlags();
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetResultListRequestFlags();
|
||||
[DllImport("Everything32.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultExtension(UInt32 nIndex);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_GetResultSize(UInt32 nIndex, out long lpFileSize);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_GetResultDateCreated(UInt32 nIndex, out long lpFileTime);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_GetResultDateModified(UInt32 nIndex, out long lpFileTime);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_GetResultDateAccessed(UInt32 nIndex, out long lpFileTime);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetResultAttributes(UInt32 nIndex);
|
||||
[DllImport("Everything32.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultFileListFileName(UInt32 nIndex);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetResultRunCount(UInt32 nIndex);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_GetResultDateRun(UInt32 nIndex, out long lpFileTime);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_GetResultDateRecentlyChanged(UInt32 nIndex, out long lpFileTime);
|
||||
[DllImport("Everything32.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultHighlightedFileName(UInt32 nIndex);
|
||||
[DllImport("Everything32.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultHighlightedPath(UInt32 nIndex);
|
||||
[DllImport("Everything32.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultHighlightedFullPathAndFileName(UInt32 nIndex);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_GetRunCountFromFileName(string lpFileName);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern bool Everything_SetRunCountFromFileName(string lpFileName, UInt32 dwRunCount);
|
||||
[DllImport("Everything32.dll")]
|
||||
public static extern UInt32 Everything_IncRunCountFromFileName(string lpFileName);
|
||||
|
||||
public Form1()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
UInt32 i;
|
||||
|
||||
// set the search
|
||||
Everything_SetSearchW(textBox1.Text);
|
||||
|
||||
// use our own custom scrollbar...
|
||||
// Everything_SetMax(listBox1.ClientRectangle.Height / listBox1.ItemHeight);
|
||||
// Everything_SetOffset(VerticalScrollBarPosition...);
|
||||
|
||||
// request name and size
|
||||
Everything_SetRequestFlags(EVERYTHING_REQUEST_FILE_NAME | EVERYTHING_REQUEST_PATH | EVERYTHING_REQUEST_DATE_MODIFIED | EVERYTHING_REQUEST_SIZE);
|
||||
|
||||
Everything_SetSort(13);
|
||||
|
||||
// execute the query
|
||||
Everything_QueryW(true);
|
||||
|
||||
// sort by path
|
||||
// Everything_SortResultsByPath();
|
||||
|
||||
// clear the old list of results
|
||||
listBox1.Items.Clear();
|
||||
|
||||
// set the window title
|
||||
Text = textBox1.Text + " - " + Everything_GetNumResults() + " Results";
|
||||
|
||||
// loop through the results, adding each result to the listbox.
|
||||
for (i = 0; i < Everything_GetNumResults(); i++)
|
||||
{
|
||||
long date_modified;
|
||||
long size;
|
||||
|
||||
Everything_GetResultDateModified(i, out date_modified);
|
||||
Everything_GetResultSize(i, out size);
|
||||
|
||||
// add it to the list box
|
||||
listBox1.Items.Insert((int)i, "Size: " + size.ToString() + " Date Modified: " + DateTime.FromFileTime(date_modified).Year + "/" + DateTime.FromFileTime(date_modified).Month + "/" + DateTime.FromFileTime(date_modified).Day + " " + DateTime.FromFileTime(date_modified).Hour + ":" + DateTime.FromFileTime(date_modified).Minute.ToString("D2") + " Filename: " + Marshal.PtrToStringUni(Everything_GetResultFileName(i)));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,120 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WindowsApplication1
|
||||
{
|
||||
|
||||
static class Program
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
Application.Run(new Form1());
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("WindowsApplication1")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("WindowsApplication1")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2009")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("00417877-82e2-4176-8724-bbe7870ee348")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
@ -0,0 +1,71 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.42
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WindowsApplication1.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources
|
||||
{
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if ((resourceMan == null))
|
||||
{
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsApplication1.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,117 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -0,0 +1,30 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.42
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WindowsApplication1.Properties
|
||||
{
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||
{
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default
|
||||
{
|
||||
get
|
||||
{
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
|
@ -0,0 +1,94 @@
|
|||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>WindowsApplication1</RootNamespace>
|
||||
<AssemblyName>WindowsApplication1</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<OutputPath>bin\x86\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual Studio 2005
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsApplication1", "WindowsApplication1.csproj", "{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Debug|x86.Build.0 = Debug|x86
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Release|x86.ActiveCfg = Release|x86
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
Binary file not shown.
|
@ -0,0 +1,10 @@
|
|||
D:\dev\everything\sdk\example\CSharp\bin\x86\Debug\WindowsApplication1.exe
|
||||
D:\dev\everything\sdk\example\CSharp\bin\x86\Debug\WindowsApplication1.pdb
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\ResolveAssemblyReference.cache
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.Form1.resources
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.Properties.Resources.resources
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.csproj.GenerateResource.Cache
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.exe
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.pdb
|
||||
C:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.exe
|
||||
C:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.pdb
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,83 @@
|
|||
namespace WindowsApplication1
|
||||
{
|
||||
partial class Form1
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.listBox1 = new System.Windows.Forms.ListBox();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(250, 12);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(84, 20);
|
||||
this.button1.TabIndex = 0;
|
||||
this.button1.Text = "Search";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// listBox1
|
||||
//
|
||||
this.listBox1.FormattingEnabled = true;
|
||||
this.listBox1.Location = new System.Drawing.Point(12, 38);
|
||||
this.listBox1.Name = "listBox1";
|
||||
this.listBox1.Size = new System.Drawing.Size(322, 199);
|
||||
this.listBox1.TabIndex = 2;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(12, 12);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(232, 20);
|
||||
this.textBox1.TabIndex = 3;
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(349, 251);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.listBox1);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Name = "Form1";
|
||||
this.Text = "Form1";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.ListBox listBox1;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,228 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace WindowsApplication1
|
||||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
const int EVERYTHING_OK = 0;
|
||||
const int EVERYTHING_ERROR_MEMORY = 1;
|
||||
const int EVERYTHING_ERROR_IPC = 2;
|
||||
const int EVERYTHING_ERROR_REGISTERCLASSEX = 3;
|
||||
const int EVERYTHING_ERROR_CREATEWINDOW = 4;
|
||||
const int EVERYTHING_ERROR_CREATETHREAD = 5;
|
||||
const int EVERYTHING_ERROR_INVALIDINDEX = 6;
|
||||
const int EVERYTHING_ERROR_INVALIDCALL = 7;
|
||||
|
||||
const int EVERYTHING_REQUEST_FILE_NAME = 0x00000001;
|
||||
const int EVERYTHING_REQUEST_PATH = 0x00000002;
|
||||
const int EVERYTHING_REQUEST_FULL_PATH_AND_FILE_NAME = 0x00000004;
|
||||
const int EVERYTHING_REQUEST_EXTENSION = 0x00000008;
|
||||
const int EVERYTHING_REQUEST_SIZE = 0x00000010;
|
||||
const int EVERYTHING_REQUEST_DATE_CREATED = 0x00000020;
|
||||
const int EVERYTHING_REQUEST_DATE_MODIFIED = 0x00000040;
|
||||
const int EVERYTHING_REQUEST_DATE_ACCESSED = 0x00000080;
|
||||
const int EVERYTHING_REQUEST_ATTRIBUTES = 0x00000100;
|
||||
const int EVERYTHING_REQUEST_FILE_LIST_FILE_NAME = 0x00000200;
|
||||
const int EVERYTHING_REQUEST_RUN_COUNT = 0x00000400;
|
||||
const int EVERYTHING_REQUEST_DATE_RUN = 0x00000800;
|
||||
const int EVERYTHING_REQUEST_DATE_RECENTLY_CHANGED = 0x00001000;
|
||||
const int EVERYTHING_REQUEST_HIGHLIGHTED_FILE_NAME = 0x00002000;
|
||||
const int EVERYTHING_REQUEST_HIGHLIGHTED_PATH = 0x00004000;
|
||||
const int EVERYTHING_REQUEST_HIGHLIGHTED_FULL_PATH_AND_FILE_NAME = 0x00008000;
|
||||
|
||||
const int EVERYTHING_SORT_NAME_ASCENDING = 1;
|
||||
const int EVERYTHING_SORT_NAME_DESCENDING = 2;
|
||||
const int EVERYTHING_SORT_PATH_ASCENDING = 3;
|
||||
const int EVERYTHING_SORT_PATH_DESCENDING = 4;
|
||||
const int EVERYTHING_SORT_SIZE_ASCENDING = 5;
|
||||
const int EVERYTHING_SORT_SIZE_DESCENDING = 6;
|
||||
const int EVERYTHING_SORT_EXTENSION_ASCENDING = 7;
|
||||
const int EVERYTHING_SORT_EXTENSION_DESCENDING = 8;
|
||||
const int EVERYTHING_SORT_TYPE_NAME_ASCENDING = 9;
|
||||
const int EVERYTHING_SORT_TYPE_NAME_DESCENDING = 10;
|
||||
const int EVERYTHING_SORT_DATE_CREATED_ASCENDING = 11;
|
||||
const int EVERYTHING_SORT_DATE_CREATED_DESCENDING = 12;
|
||||
const int EVERYTHING_SORT_DATE_MODIFIED_ASCENDING = 13;
|
||||
const int EVERYTHING_SORT_DATE_MODIFIED_DESCENDING = 14;
|
||||
const int EVERYTHING_SORT_ATTRIBUTES_ASCENDING = 15;
|
||||
const int EVERYTHING_SORT_ATTRIBUTES_DESCENDING = 16;
|
||||
const int EVERYTHING_SORT_FILE_LIST_FILENAME_ASCENDING = 17;
|
||||
const int EVERYTHING_SORT_FILE_LIST_FILENAME_DESCENDING = 18;
|
||||
const int EVERYTHING_SORT_RUN_COUNT_ASCENDING = 19;
|
||||
const int EVERYTHING_SORT_RUN_COUNT_DESCENDING = 20;
|
||||
const int EVERYTHING_SORT_DATE_RECENTLY_CHANGED_ASCENDING = 21;
|
||||
const int EVERYTHING_SORT_DATE_RECENTLY_CHANGED_DESCENDING = 22;
|
||||
const int EVERYTHING_SORT_DATE_ACCESSED_ASCENDING = 23;
|
||||
const int EVERYTHING_SORT_DATE_ACCESSED_DESCENDING = 24;
|
||||
const int EVERYTHING_SORT_DATE_RUN_ASCENDING = 25;
|
||||
const int EVERYTHING_SORT_DATE_RUN_DESCENDING = 26;
|
||||
|
||||
const int EVERYTHING_TARGET_MACHINE_X86 = 1;
|
||||
const int EVERYTHING_TARGET_MACHINE_X64 = 2;
|
||||
const int EVERYTHING_TARGET_MACHINE_ARM = 3;
|
||||
|
||||
[DllImport("Everything64.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern UInt32 Everything_SetSearchW(string lpSearchString);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern void Everything_SetMatchPath(bool bEnable);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern void Everything_SetMatchCase(bool bEnable);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern void Everything_SetMatchWholeWord(bool bEnable);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern void Everything_SetRegex(bool bEnable);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern void Everything_SetMax(UInt32 dwMax);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern void Everything_SetOffset(UInt32 dwOffset);
|
||||
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_GetMatchPath();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_GetMatchCase();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_GetMatchWholeWord();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_GetRegex();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetMax();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetOffset();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern IntPtr Everything_GetSearchW();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetLastError();
|
||||
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_QueryW(bool bWait);
|
||||
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern void Everything_SortResultsByPath();
|
||||
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetNumFileResults();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetNumFolderResults();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetNumResults();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetTotFileResults();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetTotFolderResults();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetTotResults();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_IsVolumeResult(UInt32 nIndex);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_IsFolderResult(UInt32 nIndex);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_IsFileResult(UInt32 nIndex);
|
||||
[DllImport("Everything64.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern void Everything_GetResultFullPathName(UInt32 nIndex, StringBuilder lpString, UInt32 nMaxCount);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern void Everything_Reset();
|
||||
|
||||
[DllImport("Everything64.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultFileName(UInt32 nIndex);
|
||||
|
||||
// Everything 1.4
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern void Everything_SetSort(UInt32 dwSortType);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetSort();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetResultListSort();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern void Everything_SetRequestFlags(UInt32 dwRequestFlags);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetRequestFlags();
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetResultListRequestFlags();
|
||||
[DllImport("Everything64.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultExtension(UInt32 nIndex);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_GetResultSize(UInt32 nIndex, out long lpFileSize);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_GetResultDateCreated(UInt32 nIndex, out long lpFileTime);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_GetResultDateModified(UInt32 nIndex, out long lpFileTime);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_GetResultDateAccessed(UInt32 nIndex, out long lpFileTime);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetResultAttributes(UInt32 nIndex);
|
||||
[DllImport("Everything64.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultFileListFileName(UInt32 nIndex);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetResultRunCount(UInt32 nIndex);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_GetResultDateRun(UInt32 nIndex, out long lpFileTime);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_GetResultDateRecentlyChanged(UInt32 nIndex, out long lpFileTime);
|
||||
[DllImport("Everything64.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultHighlightedFileName(UInt32 nIndex);
|
||||
[DllImport("Everything64.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultHighlightedPath(UInt32 nIndex);
|
||||
[DllImport("Everything64.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr Everything_GetResultHighlightedFullPathAndFileName(UInt32 nIndex);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_GetRunCountFromFileName(string lpFileName);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern bool Everything_SetRunCountFromFileName(string lpFileName, UInt32 dwRunCount);
|
||||
[DllImport("Everything64.dll")]
|
||||
public static extern UInt32 Everything_IncRunCountFromFileName(string lpFileName);
|
||||
|
||||
public Form1()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
UInt32 i;
|
||||
|
||||
// set the search
|
||||
Everything_SetSearchW(textBox1.Text);
|
||||
|
||||
// use our own custom scrollbar...
|
||||
// Everything_SetMax(listBox1.ClientRectangle.Height / listBox1.ItemHeight);
|
||||
// Everything_SetOffset(VerticalScrollBarPosition...);
|
||||
|
||||
// request name and size
|
||||
Everything_SetRequestFlags(EVERYTHING_REQUEST_FILE_NAME | EVERYTHING_REQUEST_PATH | EVERYTHING_REQUEST_DATE_MODIFIED | EVERYTHING_REQUEST_SIZE);
|
||||
|
||||
Everything_SetSort(13);
|
||||
|
||||
// execute the query
|
||||
Everything_QueryW(true);
|
||||
|
||||
// sort by path
|
||||
// Everything_SortResultsByPath();
|
||||
|
||||
// clear the old list of results
|
||||
listBox1.Items.Clear();
|
||||
|
||||
// set the window title
|
||||
Text = textBox1.Text + " - " + Everything_GetNumResults() + " Results";
|
||||
|
||||
// loop through the results, adding each result to the listbox.
|
||||
for (i = 0; i < Everything_GetNumResults(); i++)
|
||||
{
|
||||
long date_modified;
|
||||
long size;
|
||||
|
||||
Everything_GetResultDateModified(i, out date_modified);
|
||||
Everything_GetResultSize(i, out size);
|
||||
|
||||
// add it to the list box
|
||||
listBox1.Items.Insert((int)i, "Size: " + size.ToString() + " Date Modified: " + DateTime.FromFileTime(date_modified).Year + "/" + DateTime.FromFileTime(date_modified).Month + "/" + DateTime.FromFileTime(date_modified).Day + " " + DateTime.FromFileTime(date_modified).Hour + ":" + DateTime.FromFileTime(date_modified).Minute.ToString("D2") + " Filename: " + Marshal.PtrToStringUni(Everything_GetResultFileName(i)));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,120 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WindowsApplication1
|
||||
{
|
||||
|
||||
static class Program
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
Application.Run(new Form1());
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("WindowsApplication1")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("WindowsApplication1")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2009")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("00417877-82e2-4176-8724-bbe7870ee348")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
@ -0,0 +1,71 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.42
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WindowsApplication1.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources
|
||||
{
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if ((resourceMan == null))
|
||||
{
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsApplication1.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,117 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -0,0 +1,30 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.42
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WindowsApplication1.Properties
|
||||
{
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||
{
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default
|
||||
{
|
||||
get
|
||||
{
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
|
@ -0,0 +1,110 @@
|
|||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>WindowsApplication1</RootNamespace>
|
||||
<AssemblyName>WindowsApplication1</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<OutputPath>bin\x86\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
|
@ -0,0 +1,32 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual Studio 2005
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsApplication1", "WindowsApplication1.csproj", "{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Debug|x64.Build.0 = Debug|x64
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Debug|x86.Build.0 = Debug|x86
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Release|x64.ActiveCfg = Release|x64
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Release|x64.Build.0 = Release|x64
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Release|x86.ActiveCfg = Release|x86
|
||||
{FAB4597B-1FE6-4D40-8CD9-49BA8664C3B1}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
Binary file not shown.
|
@ -0,0 +1,20 @@
|
|||
D:\dev\everything\sdk\example\CSharp\bin\x86\Debug\WindowsApplication1.exe
|
||||
D:\dev\everything\sdk\example\CSharp\bin\x86\Debug\WindowsApplication1.pdb
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\ResolveAssemblyReference.cache
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.Form1.resources
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.Properties.Resources.resources
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.csproj.GenerateResource.Cache
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.exe
|
||||
D:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.pdb
|
||||
C:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.exe
|
||||
C:\dev\everything\sdk\example\CSharp\obj\x86\Debug\WindowsApplication1.pdb
|
||||
C:\dev\everything\sdk\example\CSharpx64\obj\x86\Debug\WindowsApplication1.exe
|
||||
C:\dev\everything\sdk\example\CSharpx64\obj\x86\Debug\WindowsApplication1.pdb
|
||||
C:\dev\everything\sdk\example\CSharpx64\bin\x64\Debug\WindowsApplication1.exe
|
||||
C:\dev\everything\sdk\example\CSharpx64\bin\x64\Debug\WindowsApplication1.pdb
|
||||
C:\dev\everything\sdk\example\CSharpx64\obj\x64\Debug\ResolveAssemblyReference.cache
|
||||
C:\dev\everything\sdk\example\CSharpx64\obj\x64\Debug\WindowsApplication1.Form1.resources
|
||||
C:\dev\everything\sdk\example\CSharpx64\obj\x64\Debug\WindowsApplication1.Properties.Resources.resources
|
||||
C:\dev\everything\sdk\example\CSharpx64\obj\x64\Debug\WindowsApplication1.csproj.GenerateResource.Cache
|
||||
C:\dev\everything\sdk\example\CSharpx64\obj\x64\Debug\WindowsApplication1.exe
|
||||
C:\dev\everything\sdk\example\CSharpx64\obj\x64\Debug\WindowsApplication1.pdb
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,5 @@
|
|||
[InternetShortcut]
|
||||
URL=https://github.com/dipique/everythingio
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconIndex=0
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual Studio 2005
|
||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WindowsApplication1", "WindowsApplication1\WindowsApplication1.vbproj", "{0D15552C-AEB4-4B1A-8CCD-1E533557EDA1}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{0D15552C-AEB4-4B1A-8CCD-1E533557EDA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0D15552C-AEB4-4B1A-8CCD-1E533557EDA1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0D15552C-AEB4-4B1A-8CCD-1E533557EDA1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0D15552C-AEB4-4B1A-8CCD-1E533557EDA1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
72
Everything-SDK/example/Visual Basic/WindowsApplication1/WindowsApplication1/Form1.Designer.vb
generated
Normal file
72
Everything-SDK/example/Visual Basic/WindowsApplication1/WindowsApplication1/Form1.Designer.vb
generated
Normal file
|
@ -0,0 +1,72 @@
|
|||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class Form1
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form overrides dispose to clean up the component list.
|
||||
<System.Diagnostics.DebuggerNonUserCode()> _
|
||||
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||
Try
|
||||
If disposing AndAlso components IsNot Nothing Then
|
||||
components.Dispose()
|
||||
End If
|
||||
Finally
|
||||
MyBase.Dispose(disposing)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
'Required by the Windows Form Designer
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'NOTE: The following procedure is required by the Windows Form Designer
|
||||
'It can be modified using the Windows Form Designer.
|
||||
'Do not modify it using the code editor.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.Button1 = New System.Windows.Forms.Button
|
||||
Me.TextBox1 = New System.Windows.Forms.TextBox
|
||||
Me.ListBox1 = New System.Windows.Forms.ListBox
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'Button1
|
||||
'
|
||||
Me.Button1.Location = New System.Drawing.Point(524, 98)
|
||||
Me.Button1.Name = "Button1"
|
||||
Me.Button1.Size = New System.Drawing.Size(100, 24)
|
||||
Me.Button1.TabIndex = 0
|
||||
Me.Button1.Text = "Button1"
|
||||
Me.Button1.UseVisualStyleBackColor = True
|
||||
'
|
||||
'TextBox1
|
||||
'
|
||||
Me.TextBox1.Location = New System.Drawing.Point(50, 102)
|
||||
Me.TextBox1.Name = "TextBox1"
|
||||
Me.TextBox1.Size = New System.Drawing.Size(468, 20)
|
||||
Me.TextBox1.TabIndex = 1
|
||||
'
|
||||
'ListBox1
|
||||
'
|
||||
Me.ListBox1.FormattingEnabled = True
|
||||
Me.ListBox1.Location = New System.Drawing.Point(50, 155)
|
||||
Me.ListBox1.Name = "ListBox1"
|
||||
Me.ListBox1.Size = New System.Drawing.Size(574, 394)
|
||||
Me.ListBox1.TabIndex = 2
|
||||
'
|
||||
'Form1
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(822, 796)
|
||||
Me.Controls.Add(Me.ListBox1)
|
||||
Me.Controls.Add(Me.TextBox1)
|
||||
Me.Controls.Add(Me.Button1)
|
||||
Me.Name = "Form1"
|
||||
Me.Text = "Form1"
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
End Sub
|
||||
Friend WithEvents Button1 As System.Windows.Forms.Button
|
||||
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
|
||||
Friend WithEvents ListBox1 As System.Windows.Forms.ListBox
|
||||
|
||||
End Class
|
|
@ -0,0 +1,120 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -0,0 +1,74 @@
|
|||
' Add an Imports statement at the top of the class, structure, or
|
||||
' module that uses the DllImport attribute.
|
||||
|
||||
Public Class Form1
|
||||
|
||||
Public Declare Unicode Function Everything_SetSearchW Lib "d:\dev\everything\sdk\dll\Everything32.dll" (ByVal search As String) As UInt32
|
||||
Public Declare Unicode Function Everything_SetRequestFlags Lib "d:\dev\everything\sdk\dll\Everything32.dll" (ByVal dwRequestFlags As UInt32) As UInt32
|
||||
Public Declare Unicode Function Everything_QueryW Lib "d:\dev\everything\sdk\dll\Everything32.dll" (ByVal bWait As Integer) As Integer
|
||||
Public Declare Unicode Function Everything_GetNumResults Lib "d:\dev\everything\sdk\dll\Everything32.dll" () As UInt32
|
||||
Public Declare Unicode Function Everything_GetResultFileNameW Lib "d:\dev\everything\sdk\dll\Everything32.dll" (ByVal index As UInt32) As IntPtr
|
||||
Public Declare Unicode Function Everything_GetLastError Lib "d:\dev\everything\sdk\dll\Everything32.dll" () As UInt32
|
||||
Public Declare Unicode Function Everything_GetResultFullPathNameW Lib "d:\dev\everything\sdk\dll\Everything32.dll" (ByVal index As UInt32, ByVal buf As System.Text.StringBuilder, ByVal size As UInt32) As UInt32
|
||||
Public Declare Unicode Function Everything_GetResultSize Lib "d:\dev\everything\sdk\dll\Everything32.dll" (ByVal index As UInt32, ByRef size As UInt64) As Integer
|
||||
Public Declare Unicode Function Everything_GetResultDateModified Lib "d:\dev\everything\sdk\dll\Everything32.dll" (ByVal index As UInt32, ByRef ft As UInt64) As Integer
|
||||
|
||||
Public Const EVERYTHING_REQUEST_FILE_NAME = &H1
|
||||
Public Const EVERYTHING_REQUEST_PATH = &H00000002
|
||||
Public Const EVERYTHING_REQUEST_FULL_PATH_AND_FILE_NAME = &H00000004
|
||||
Public Const EVERYTHING_REQUEST_EXTENSION = &H00000008
|
||||
Public Const EVERYTHING_REQUEST_SIZE = &H00000010
|
||||
Public Const EVERYTHING_REQUEST_DATE_CREATED = &H00000020
|
||||
Public Const EVERYTHING_REQUEST_DATE_MODIFIED = &H00000040
|
||||
Public Const EVERYTHING_REQUEST_DATE_ACCESSED = &H00000080
|
||||
Public Const EVERYTHING_REQUEST_ATTRIBUTES = &H00000100
|
||||
Public Const EVERYTHING_REQUEST_FILE_LIST_FILE_NAME = &H00000200
|
||||
Public Const EVERYTHING_REQUEST_RUN_COUNT = &H00000400
|
||||
Public Const EVERYTHING_REQUEST_DATE_RUN = &H00000800
|
||||
Public Const EVERYTHING_REQUEST_DATE_RECENTLY_CHANGED = &H00001000
|
||||
Public Const EVERYTHING_REQUEST_HIGHLIGHTED_FILE_NAME = &H00002000
|
||||
Public Const EVERYTHING_REQUEST_HIGHLIGHTED_PATH = &H00004000
|
||||
Public Const EVERYTHING_REQUEST_HIGHLIGHTED_FULL_PATH_AND_FILE_NAME = &H00008000
|
||||
|
||||
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
|
||||
|
||||
Everything_SetSearchW(TextBox1.Text)
|
||||
Everything_SetRequestFlags(EVERYTHING_REQUEST_FILE_NAME Or EVERYTHING_REQUEST_PATH Or EVERYTHING_REQUEST_SIZE Or EVERYTHING_REQUEST_DATE_MODIFIED)
|
||||
Everything_QueryW(1)
|
||||
|
||||
Dim NumResults As UInt32
|
||||
Dim i As UInt32
|
||||
Dim filename As New System.Text.StringBuilder(260)
|
||||
Dim size As UInt64
|
||||
Dim ftdm As UInt64
|
||||
Dim DateModified As System.DateTime
|
||||
|
||||
NumResults = Everything_GetNumResults()
|
||||
|
||||
ListBox1.Items.Clear()
|
||||
|
||||
If NumResults > 0 Then
|
||||
For i = 0 To NumResults - 1
|
||||
|
||||
Everything_GetResultFullPathNameW(i, filename, filename.Capacity)
|
||||
Everything_GetResultSize(i, size)
|
||||
Everything_GetResultDateModified(i, ftdm)
|
||||
|
||||
' Everything uses &HFFFFFFFFFFFFFFFFUL for unknown dates
|
||||
' System.DateTime.FromFileTime does not like this value
|
||||
' so set the DateModified to Nothing when Everything returns &HFFFFFFFFFFFFFFFFUL
|
||||
If ftdm = &HFFFFFFFFFFFFFFFFUL Then
|
||||
DateModified = Nothing
|
||||
Else
|
||||
DateModified = System.DateTime.FromFileTime(ftdm)
|
||||
|
||||
End If
|
||||
|
||||
' ListBox1.Items.Insert(i, filename.ToString() & " size:" & size & " date:" & DateModified.ToString())
|
||||
ListBox1.Items.Insert(i, System.Runtime.InteropServices.Marshal.PtrToStringUni(Everything_GetResultFileNameW(i)) & " Size:" & size & " Date Modified:" & DateModified.ToString())
|
||||
Next
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
End Class
|
|
@ -0,0 +1,38 @@
|
|||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:2.0.50727.5485
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
'NOTE: This file is auto-generated; do not modify it directly. To make changes,
|
||||
' or if you encounter build errors in this file, go to the Project Designer
|
||||
' (go to Project Properties or double-click the My Project node in
|
||||
' Solution Explorer), and make changes on the Application tab.
|
||||
'
|
||||
Partial Friend Class MyApplication
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Public Sub New()
|
||||
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
|
||||
Me.IsSingleInstance = false
|
||||
Me.EnableVisualStyles = true
|
||||
Me.SaveMySettingsOnExit = true
|
||||
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
|
||||
End Sub
|
||||
|
||||
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||
Protected Overrides Sub OnCreateMainForm()
|
||||
Me.MainForm = Global.WindowsApplication1.Form1
|
||||
End Sub
|
||||
End Class
|
||||
End Namespace
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<MySubMain>true</MySubMain>
|
||||
<MainForm>Form1</MainForm>
|
||||
<SingleInstance>false</SingleInstance>
|
||||
<ShutdownMode>0</ShutdownMode>
|
||||
<EnableVisualStyles>true</EnableVisualStyles>
|
||||
<AuthenticationMode>0</AuthenticationMode>
|
||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||
</MyApplicationData>
|
|
@ -0,0 +1,35 @@
|
|||
Imports System
|
||||
Imports System.Reflection
|
||||
Imports System.Runtime.InteropServices
|
||||
|
||||
' General Information about an assembly is controlled through the following
|
||||
' set of attributes. Change these attribute values to modify the information
|
||||
' associated with an assembly.
|
||||
|
||||
' Review the values of the assembly attributes
|
||||
|
||||
<Assembly: AssemblyTitle("WindowsApplication1")>
|
||||
<Assembly: AssemblyDescription("")>
|
||||
<Assembly: AssemblyCompany("")>
|
||||
<Assembly: AssemblyProduct("WindowsApplication1")>
|
||||
<Assembly: AssemblyCopyright("Copyright © 2015")>
|
||||
<Assembly: AssemblyTrademark("")>
|
||||
|
||||
<Assembly: ComVisible(False)>
|
||||
|
||||
'The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
<Assembly: Guid("a24b8877-dcde-4d14-a88f-9d6cc203cef5")>
|
||||
|
||||
' Version information for an assembly consists of the following four values:
|
||||
'
|
||||
' Major Version
|
||||
' Minor Version
|
||||
' Build Number
|
||||
' Revision
|
||||
'
|
||||
' You can specify all the values or you can default the Build and Revision Numbers
|
||||
' by using the '*' as shown below:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
|
@ -0,0 +1,63 @@
|
|||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:2.0.50727.5485
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
Imports System
|
||||
|
||||
Namespace My.Resources
|
||||
|
||||
'This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
'class via a tool like ResGen or Visual Studio.
|
||||
'To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
'with the /str option, or rebuild your VS project.
|
||||
'''<summary>
|
||||
''' A strongly-typed resource class, for looking up localized strings, etc.
|
||||
'''</summary>
|
||||
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0"), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||
Friend Module Resources
|
||||
|
||||
Private resourceMan As Global.System.Resources.ResourceManager
|
||||
|
||||
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||
|
||||
'''<summary>
|
||||
''' Returns the cached ResourceManager instance used by this class.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
|
||||
Get
|
||||
If Object.ReferenceEquals(resourceMan, Nothing) Then
|
||||
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("WindowsApplication1.Resources", GetType(Resources).Assembly)
|
||||
resourceMan = temp
|
||||
End If
|
||||
Return resourceMan
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Overrides the current thread's CurrentUICulture property for all
|
||||
''' resource lookups using this strongly typed resource class.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||
Get
|
||||
Return resourceCulture
|
||||
End Get
|
||||
Set
|
||||
resourceCulture = value
|
||||
End Set
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
|
@ -0,0 +1,117 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -0,0 +1,73 @@
|
|||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' This code was generated by a tool.
|
||||
' Runtime Version:2.0.50727.5485
|
||||
'
|
||||
' Changes to this file may cause incorrect behavior and will be lost if
|
||||
' the code is regenerated.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0"), _
|
||||
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Partial Friend NotInheritable Class MySettings
|
||||
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||
|
||||
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings),MySettings)
|
||||
|
||||
#Region "My.Settings Auto-Save Functionality"
|
||||
#If _MyType = "WindowsForms" Then
|
||||
Private Shared addedHandler As Boolean
|
||||
|
||||
Private Shared addedHandlerLockObject As New Object
|
||||
|
||||
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
|
||||
If My.Application.SaveMySettingsOnExit Then
|
||||
My.Settings.Save()
|
||||
End If
|
||||
End Sub
|
||||
#End If
|
||||
#End Region
|
||||
|
||||
Public Shared ReadOnly Property [Default]() As MySettings
|
||||
Get
|
||||
|
||||
#If _MyType = "WindowsForms" Then
|
||||
If Not addedHandler Then
|
||||
SyncLock addedHandlerLockObject
|
||||
If Not addedHandler Then
|
||||
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||
addedHandler = True
|
||||
End If
|
||||
End SyncLock
|
||||
End If
|
||||
#End If
|
||||
Return defaultInstance
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
End Namespace
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||
Friend Module MySettingsProperty
|
||||
|
||||
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||
Friend ReadOnly Property Settings() As Global.WindowsApplication1.My.MySettings
|
||||
Get
|
||||
Return Global.WindowsApplication1.My.MySettings.Default
|
||||
End Get
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
|
@ -0,0 +1,107 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{0D15552C-AEB4-4B1A-8CCD-1E533557EDA1}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<StartupObject>WindowsApplication1.My.MyApplication</StartupObject>
|
||||
<RootNamespace>WindowsApplication1</RootNamespace>
|
||||
<AssemblyName>WindowsApplication1</AssemblyName>
|
||||
<MyType>WindowsForms</MyType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DocumentationFile>WindowsApplication1.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DocumentationFile>WindowsApplication1.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Import Include="Microsoft.VisualBasic" />
|
||||
<Import Include="System" />
|
||||
<Import Include="System.Collections" />
|
||||
<Import Include="System.Collections.Generic" />
|
||||
<Import Include="System.Data" />
|
||||
<Import Include="System.Drawing" />
|
||||
<Import Include="System.Diagnostics" />
|
||||
<Import Include="System.Windows.Forms" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.vb">
|
||||
<DependentUpon>Form1.vb</DependentUpon>
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||
<Compile Include="My Project\Application.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Application.myapp</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Resources.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Settings.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>Form1.vb</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="My Project\Resources.resx">
|
||||
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="My Project\Application.myapp">
|
||||
<Generator>MyApplicationCodeGenerator</Generator>
|
||||
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="My Project\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<CustomToolNamespace>My</CustomToolNamespace>
|
||||
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
|
@ -0,0 +1,16 @@
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PublishUrlHistory>publish\</PublishUrlHistory>
|
||||
<InstallUrlHistory>
|
||||
</InstallUrlHistory>
|
||||
<SupportUrlHistory>
|
||||
</SupportUrlHistory>
|
||||
<UpdateUrlHistory>
|
||||
</UpdateUrlHistory>
|
||||
<BootstrapperUrlHistory>
|
||||
</BootstrapperUrlHistory>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<FallbackCulture>en-US</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -0,0 +1,30 @@
|
|||
C:\Users\Administrator\Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\ResolveAssemblyReference.cache
|
||||
C:\Users\Administrator\Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.Resources.resources
|
||||
C:\Users\Administrator\Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.vbproj.GenerateResource.Cache
|
||||
C:\Users\Administrator\Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.exe
|
||||
C:\Users\Administrator\Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.pdb
|
||||
C:\Users\Administrator\Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.xml
|
||||
C:\Users\Administrator\Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.exe
|
||||
C:\Users\Administrator\Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.xml
|
||||
C:\Users\Administrator\Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.pdb
|
||||
C:\Users\Administrator\Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.Form1.resources
|
||||
C:\Private\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.exe
|
||||
C:\Private\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.xml
|
||||
C:\Private\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.pdb
|
||||
C:\Private\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\ResolveAssemblyReference.cache
|
||||
C:\Private\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.Form1.resources
|
||||
C:\Private\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.Resources.resources
|
||||
C:\Private\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.vbproj.GenerateResource.Cache
|
||||
C:\Private\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.exe
|
||||
C:\Private\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.pdb
|
||||
C:\Private\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.xml
|
||||
C:\dev\everything\sdk\example\Visual Basic\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.exe
|
||||
C:\dev\everything\sdk\example\Visual Basic\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.xml
|
||||
C:\dev\everything\sdk\example\Visual Basic\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.pdb
|
||||
C:\dev\everything\sdk\example\Visual Basic\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.exe
|
||||
C:\dev\everything\sdk\example\Visual Basic\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.pdb
|
||||
C:\dev\everything\sdk\example\Visual Basic\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.xml
|
||||
C:\dev\everything\sdk\example\Visual Basic\WindowsApplication1\WindowsApplication1\obj\Debug\ResolveAssemblyReference.cache
|
||||
C:\dev\everything\sdk\example\Visual Basic\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.Form1.resources
|
||||
C:\dev\everything\sdk\example\Visual Basic\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.Resources.resources
|
||||
C:\dev\everything\sdk\example\Visual Basic\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.vbproj.GenerateResource.Cache
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,253 @@
|
|||
|
||||
//
|
||||
// Copyright (C) 2016 David Carpenter
|
||||
//
|
||||
// Permission is hereby granted, free of charge,
|
||||
// to any person obtaining a copy of this software
|
||||
// and associated documentation files (the "Software"),
|
||||
// to deal in the Software without restriction,
|
||||
// including without limitation the rights to use,
|
||||
// copy, modify, merge, publish, distribute, sublicense,
|
||||
// and/or sell copies of the Software, and to permit
|
||||
// persons to whom the Software is furnished to do so,
|
||||
// subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
#ifndef _EVERYTHING_DLL_
|
||||
#define _EVERYTHING_DLL_
|
||||
|
||||
#ifndef _INC_WINDOWS
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// if not defined, version is 1.
|
||||
#define EVERYTHING_SDK_VERSION 2
|
||||
|
||||
#define EVERYTHING_OK 0 // no error detected
|
||||
#define EVERYTHING_ERROR_MEMORY 1 // out of memory.
|
||||
#define EVERYTHING_ERROR_IPC 2 // Everything search client is not running
|
||||
#define EVERYTHING_ERROR_REGISTERCLASSEX 3 // unable to register window class.
|
||||
#define EVERYTHING_ERROR_CREATEWINDOW 4 // unable to create listening window
|
||||
#define EVERYTHING_ERROR_CREATETHREAD 5 // unable to create listening thread
|
||||
#define EVERYTHING_ERROR_INVALIDINDEX 6 // invalid index
|
||||
#define EVERYTHING_ERROR_INVALIDCALL 7 // invalid call
|
||||
#define EVERYTHING_ERROR_INVALIDREQUEST 8 // invalid request data, request data first.
|
||||
#define EVERYTHING_ERROR_INVALIDPARAMETER 9 // bad parameter.
|
||||
|
||||
#define EVERYTHING_SORT_NAME_ASCENDING 1
|
||||
#define EVERYTHING_SORT_NAME_DESCENDING 2
|
||||
#define EVERYTHING_SORT_PATH_ASCENDING 3
|
||||
#define EVERYTHING_SORT_PATH_DESCENDING 4
|
||||
#define EVERYTHING_SORT_SIZE_ASCENDING 5
|
||||
#define EVERYTHING_SORT_SIZE_DESCENDING 6
|
||||
#define EVERYTHING_SORT_EXTENSION_ASCENDING 7
|
||||
#define EVERYTHING_SORT_EXTENSION_DESCENDING 8
|
||||
#define EVERYTHING_SORT_TYPE_NAME_ASCENDING 9
|
||||
#define EVERYTHING_SORT_TYPE_NAME_DESCENDING 10
|
||||
#define EVERYTHING_SORT_DATE_CREATED_ASCENDING 11
|
||||
#define EVERYTHING_SORT_DATE_CREATED_DESCENDING 12
|
||||
#define EVERYTHING_SORT_DATE_MODIFIED_ASCENDING 13
|
||||
#define EVERYTHING_SORT_DATE_MODIFIED_DESCENDING 14
|
||||
#define EVERYTHING_SORT_ATTRIBUTES_ASCENDING 15
|
||||
#define EVERYTHING_SORT_ATTRIBUTES_DESCENDING 16
|
||||
#define EVERYTHING_SORT_FILE_LIST_FILENAME_ASCENDING 17
|
||||
#define EVERYTHING_SORT_FILE_LIST_FILENAME_DESCENDING 18
|
||||
#define EVERYTHING_SORT_RUN_COUNT_ASCENDING 19
|
||||
#define EVERYTHING_SORT_RUN_COUNT_DESCENDING 20
|
||||
#define EVERYTHING_SORT_DATE_RECENTLY_CHANGED_ASCENDING 21
|
||||
#define EVERYTHING_SORT_DATE_RECENTLY_CHANGED_DESCENDING 22
|
||||
#define EVERYTHING_SORT_DATE_ACCESSED_ASCENDING 23
|
||||
#define EVERYTHING_SORT_DATE_ACCESSED_DESCENDING 24
|
||||
#define EVERYTHING_SORT_DATE_RUN_ASCENDING 25
|
||||
#define EVERYTHING_SORT_DATE_RUN_DESCENDING 26
|
||||
|
||||
#define EVERYTHING_REQUEST_FILE_NAME 0x00000001
|
||||
#define EVERYTHING_REQUEST_PATH 0x00000002
|
||||
#define EVERYTHING_REQUEST_FULL_PATH_AND_FILE_NAME 0x00000004
|
||||
#define EVERYTHING_REQUEST_EXTENSION 0x00000008
|
||||
#define EVERYTHING_REQUEST_SIZE 0x00000010
|
||||
#define EVERYTHING_REQUEST_DATE_CREATED 0x00000020
|
||||
#define EVERYTHING_REQUEST_DATE_MODIFIED 0x00000040
|
||||
#define EVERYTHING_REQUEST_DATE_ACCESSED 0x00000080
|
||||
#define EVERYTHING_REQUEST_ATTRIBUTES 0x00000100
|
||||
#define EVERYTHING_REQUEST_FILE_LIST_FILE_NAME 0x00000200
|
||||
#define EVERYTHING_REQUEST_RUN_COUNT 0x00000400
|
||||
#define EVERYTHING_REQUEST_DATE_RUN 0x00000800
|
||||
#define EVERYTHING_REQUEST_DATE_RECENTLY_CHANGED 0x00001000
|
||||
#define EVERYTHING_REQUEST_HIGHLIGHTED_FILE_NAME 0x00002000
|
||||
#define EVERYTHING_REQUEST_HIGHLIGHTED_PATH 0x00004000
|
||||
#define EVERYTHING_REQUEST_HIGHLIGHTED_FULL_PATH_AND_FILE_NAME 0x00008000
|
||||
|
||||
#define EVERYTHING_TARGET_MACHINE_X86 1
|
||||
#define EVERYTHING_TARGET_MACHINE_X64 2
|
||||
#define EVERYTHING_TARGET_MACHINE_ARM 3
|
||||
|
||||
#ifndef EVERYTHINGAPI
|
||||
#define EVERYTHINGAPI __stdcall
|
||||
#endif
|
||||
|
||||
#ifndef EVERYTHINGUSERAPI
|
||||
#define EVERYTHINGUSERAPI __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
// write search state
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetSearchW(LPCWSTR lpString);
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetSearchA(LPCSTR lpString);
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetMatchPath(BOOL bEnable);
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetMatchCase(BOOL bEnable);
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetMatchWholeWord(BOOL bEnable);
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetRegex(BOOL bEnable);
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetMax(DWORD dwMax);
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetOffset(DWORD dwOffset);
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetReplyWindow(HWND hWnd);
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetReplyID(DWORD dwId);
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetSort(DWORD dwSort); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SetRequestFlags(DWORD dwRequestFlags); // Everything 1.4.1
|
||||
|
||||
// read search state
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_GetMatchPath(void);
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_GetMatchCase(void);
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_GetMatchWholeWord(void);
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_GetRegex(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetMax(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetOffset(void);
|
||||
EVERYTHINGUSERAPI LPCSTR EVERYTHINGAPI Everything_GetSearchA(void);
|
||||
EVERYTHINGUSERAPI LPCWSTR EVERYTHINGAPI Everything_GetSearchW(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetLastError(void);
|
||||
EVERYTHINGUSERAPI HWND EVERYTHINGAPI Everything_GetReplyWindow(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetReplyID(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetSort(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetRequestFlags(void); // Everything 1.4.1
|
||||
|
||||
// execute query
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_QueryA(BOOL bWait);
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_QueryW(BOOL bWait);
|
||||
|
||||
// query reply
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_IsQueryReply(UINT message,WPARAM wParam,LPARAM lParam,DWORD dwId);
|
||||
|
||||
// write result state
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_SortResultsByPath(void);
|
||||
|
||||
// read result state
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetNumFileResults(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetNumFolderResults(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetNumResults(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetTotFileResults(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetTotFolderResults(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetTotResults(void);
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_IsVolumeResult(DWORD dwIndex);
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_IsFolderResult(DWORD dwIndex);
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_IsFileResult(DWORD dwIndex);
|
||||
EVERYTHINGUSERAPI LPCWSTR EVERYTHINGAPI Everything_GetResultFileNameW(DWORD dwIndex);
|
||||
EVERYTHINGUSERAPI LPCSTR EVERYTHINGAPI Everything_GetResultFileNameA(DWORD dwIndex);
|
||||
EVERYTHINGUSERAPI LPCWSTR EVERYTHINGAPI Everything_GetResultPathW(DWORD dwIndex);
|
||||
EVERYTHINGUSERAPI LPCSTR EVERYTHINGAPI Everything_GetResultPathA(DWORD dwIndex);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetResultFullPathNameA(DWORD dwIndex,LPSTR buf,DWORD bufsize);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetResultFullPathNameW(DWORD dwIndex,LPWSTR wbuf,DWORD wbuf_size_in_wchars);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetResultListSort(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetResultListRequestFlags(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI LPCWSTR EVERYTHINGAPI Everything_GetResultExtensionW(DWORD dwIndex); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI LPCSTR EVERYTHINGAPI Everything_GetResultExtensionA(DWORD dwIndex); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_GetResultSize(DWORD dwIndex,LARGE_INTEGER *lpSize); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_GetResultDateCreated(DWORD dwIndex,FILETIME *lpDateCreated); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_GetResultDateModified(DWORD dwIndex,FILETIME *lpDateModified); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_GetResultDateAccessed(DWORD dwIndex,FILETIME *lpDateAccessed); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetResultAttributes(DWORD dwIndex); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI LPCWSTR EVERYTHINGAPI Everything_GetResultFileListFileNameW(DWORD dwIndex); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI LPCSTR EVERYTHINGAPI Everything_GetResultFileListFileNameA(DWORD dwIndex); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetResultRunCount(DWORD dwIndex); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_GetResultDateRun(DWORD dwIndex,FILETIME *lpDateRun);
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_GetResultDateRecentlyChanged(DWORD dwIndex,FILETIME *lpDateRecentlyChanged);
|
||||
EVERYTHINGUSERAPI LPCWSTR EVERYTHINGAPI Everything_GetResultHighlightedFileNameW(DWORD dwIndex); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI LPCSTR EVERYTHINGAPI Everything_GetResultHighlightedFileNameA(DWORD dwIndex); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI LPCWSTR EVERYTHINGAPI Everything_GetResultHighlightedPathW(DWORD dwIndex); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI LPCSTR EVERYTHINGAPI Everything_GetResultHighlightedPathA(DWORD dwIndex); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI LPCWSTR EVERYTHINGAPI Everything_GetResultHighlightedFullPathAndFileNameW(DWORD dwIndex); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI LPCSTR EVERYTHINGAPI Everything_GetResultHighlightedFullPathAndFileNameA(DWORD dwIndex); // Everything 1.4.1
|
||||
|
||||
// reset state and free any allocated memory
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_Reset(void);
|
||||
EVERYTHINGUSERAPI void EVERYTHINGAPI Everything_CleanUp(void);
|
||||
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetMajorVersion(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetMinorVersion(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetRevision(void);
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetBuildNumber(void);
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_Exit(void);
|
||||
UINT EVERYTHINGAPI Everything_MSIExitAndStopService(void *msihandle);
|
||||
UINT EVERYTHINGAPI Everything_MSIStartService(void *msihandle);
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_IsDBLoaded(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_IsAdmin(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_IsAppData(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_RebuildDB(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_UpdateAllFolderIndexes(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_SaveDB(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_SaveRunHistory(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_DeleteRunHistory(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetTargetMachine(void); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_IsFastSort(DWORD sortType); // Everything 1.4.1.859
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_IsFileInfoIndexed(DWORD fileInfoType); // Everything 1.4.1.859
|
||||
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetRunCountFromFileNameW(LPCWSTR lpFileName); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_GetRunCountFromFileNameA(LPCSTR lpFileName); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_SetRunCountFromFileNameW(LPCWSTR lpFileName,DWORD dwRunCount); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI BOOL EVERYTHINGAPI Everything_SetRunCountFromFileNameA(LPCSTR lpFileName,DWORD dwRunCount); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_IncRunCountFromFileNameW(LPCWSTR lpFileName); // Everything 1.4.1
|
||||
EVERYTHINGUSERAPI DWORD EVERYTHINGAPI Everything_IncRunCountFromFileNameA(LPCSTR lpFileName); // Everything 1.4.1
|
||||
|
||||
#ifdef UNICODE
|
||||
#define Everything_SetSearch Everything_SetSearchW
|
||||
#define Everything_GetSearch Everything_GetSearchW
|
||||
#define Everything_Query Everything_QueryW
|
||||
#define Everything_Query2 Everything_Query2W
|
||||
#define Everything_GetResultFileName Everything_GetResultFileNameW
|
||||
#define Everything_GetResultPath Everything_GetResultPathW
|
||||
#define Everything_GetResultFullPathName Everything_GetResultFullPathNameW
|
||||
#define Everything_GetResultExtension Everything_GetResultExtensionW
|
||||
#define Everything_GetResultFileListFileName Everything_GetResultFileListFileNameW
|
||||
#define Everything_GetResultHighlightedFileName Everything_GetResultHighlightedFileNameW
|
||||
#define Everything_GetResultHighlightedPath Everything_GetResultHighlightedPathW
|
||||
#define Everything_GetResultHighlightedFullPathAndFileName Everything_GetResultHighlightedFullPathAndFileNameW
|
||||
#define Everything_GetRunCountFromFileName Everything_GetRunCountFromFileNameW
|
||||
#define Everything_SetRunCountFromFileName Everything_SetRunCountFromFileNameW
|
||||
#define Everything_IncRunCountFromFileName Everything_IncRunCountFromFileNameW
|
||||
#else
|
||||
#define Everything_SetSearch Everything_SetSearchA
|
||||
#define Everything_GetSearch Everything_GetSearchA
|
||||
#define Everything_Query Everything_QueryA
|
||||
#define Everything_Query2 Everything_Query2A
|
||||
#define Everything_GetResultFileName Everything_GetResultFileNameA
|
||||
#define Everything_GetResultPath Everything_GetResultPathA
|
||||
#define Everything_GetResultFullPathName Everything_GetResultFullPathNameA
|
||||
#define Everything_GetResultExtension Everything_GetResultExtensionA
|
||||
#define Everything_GetResultFileListFileName Everything_GetResultFileListFileNameA
|
||||
#define Everything_GetResultHighlightedFileName Everything_GetResultHighlightedFileNameA
|
||||
#define Everything_GetResultHighlightedPath Everything_GetResultHighlightedPathA
|
||||
#define Everything_GetResultHighlightedFullPathAndFileName Everything_GetResultHighlightedFullPathAndFileNameA
|
||||
#define Everything_GetRunCountFromFileName Everything_GetRunCountFromFileNameA
|
||||
#define Everything_SetRunCountFromFileName Everything_SetRunCountFromFileNameA
|
||||
#define Everything_IncRunCountFromFileName Everything_IncRunCountFromFileNameA
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
@ -0,0 +1,903 @@
|
|||
|
||||
// Everything IPC
|
||||
|
||||
#ifndef _EVERYTHING_IPC_H_
|
||||
#define _EVERYTHING_IPC_H_
|
||||
|
||||
// C
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define EVERYTHING_WM_IPC (WM_USER)
|
||||
|
||||
#define EVERYTHING_IPC_TARGET_MACHINE_X86 1
|
||||
#define EVERYTHING_IPC_TARGET_MACHINE_X64 2
|
||||
#define EVERYTHING_IPC_TARGET_MACHINE_ARM 3
|
||||
#define EVERYTHING_IPC_TARGET_MACHINE_ARM64 4
|
||||
|
||||
// built in filters
|
||||
#define EVERYTHING_IPC_FILTER_EVERYTHING 0
|
||||
#define EVERYTHING_IPC_FILTER_AUDIO 1
|
||||
#define EVERYTHING_IPC_FILTER_COMPRESSED 2
|
||||
#define EVERYTHING_IPC_FILTER_DOCUMENT 3
|
||||
#define EVERYTHING_IPC_FILTER_EXECUTABLE 4
|
||||
#define EVERYTHING_IPC_FILTER_FOLDER 5
|
||||
#define EVERYTHING_IPC_FILTER_PICTURE 6
|
||||
#define EVERYTHING_IPC_FILTER_VIDEO 7
|
||||
#define EVERYTHING_IPC_FILTER_CUSTOM 8
|
||||
|
||||
// EVERYTHING_WM_IPC (send to the Everything taskbar notification window)
|
||||
// the Everything taskbar notification window is always created when Everything is running. (even when the taskbar notification icon is hidden)
|
||||
// HWND everything_taskbar_notification_hwnd = FindWindow(EVERYTHING_IPC_WNDCLASS,0);
|
||||
// SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_*,lParam)
|
||||
|
||||
// version format: major.minor.revision.build
|
||||
// example: 1.4.1.877
|
||||
#define EVERYTHING_IPC_GET_MAJOR_VERSION 0 // int major_version = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_GET_MAJOR_VERSION,0);
|
||||
#define EVERYTHING_IPC_GET_MINOR_VERSION 1 // int minor_version = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_GET_MINOR_VERSION,0);
|
||||
#define EVERYTHING_IPC_GET_REVISION 2 // int revision = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_GET_REVISION,0);
|
||||
#define EVERYTHING_IPC_GET_BUILD_NUMBER 3 // int build = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_GET_BUILD,0);
|
||||
#define EVERYTHING_IPC_EXIT 4 // returns 1 if the program closes.
|
||||
#define EVERYTHING_IPC_GET_TARGET_MACHINE 5 // int target_machine = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_GET_TARGET_MACHINE,0); returns 0 if not supported. returns a EVERYTHING_IPC_TARGET_MACHINE_* value. requires Everything 1.4.1
|
||||
|
||||
// uninstall options
|
||||
#define EVERYTHING_IPC_DELETE_START_MENU_SHORTCUTS 100 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_DELETE_START_MENU_SHORTCUTS,0);
|
||||
#define EVERYTHING_IPC_DELETE_QUICK_LAUNCH_SHORTCUT 101 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_DELETE_QUICK_LAUNCH_SHORTCUT,0);
|
||||
#define EVERYTHING_IPC_DELETE_DESKTOP_SHORTCUT 102 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_DELETE_DESKTOP_SHORTCUT,0);
|
||||
#define EVERYTHING_IPC_DELETE_FOLDER_CONTEXT_MENU 103 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_DELETE_FOLDER_CONTEXT_MENU,0);
|
||||
#define EVERYTHING_IPC_DELETE_RUN_ON_SYSTEM_STARTUP 104 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_DELETE_RUN_ON_SYSTEM_STARTUP,0);
|
||||
#define EVERYTHING_IPC_DELETE_URL_PROTOCOL 105 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_DELETE_URL_PROTOCOL,0);
|
||||
|
||||
// install options
|
||||
#define EVERYTHING_IPC_CREATE_START_MENU_SHORTCUTS 200 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_CREATE_START_MENU_SHORTCUTS,0);
|
||||
#define EVERYTHING_IPC_CREATE_QUICK_LAUNCH_SHORTCUT 201 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_CREATE_QUICK_LAUNCH_SHORTCUT,0);
|
||||
#define EVERYTHING_IPC_CREATE_DESKTOP_SHORTCUT 202 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_CREATE_DESKTOP_SHORTCUT,0);
|
||||
#define EVERYTHING_IPC_CREATE_FOLDER_CONTEXT_MENU 203 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_CREATE_FOLDER_CONTEXT_MENU,0);
|
||||
#define EVERYTHING_IPC_CREATE_RUN_ON_SYSTEM_STARTUP 204 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_CREATE_RUN_ON_SYSTEM_STARTUP,0);
|
||||
#define EVERYTHING_IPC_CREATE_URL_PROTOCOL 205 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_CREATE_URL_PROTOCOL,0);
|
||||
|
||||
// get option status; 0 = no, 1 = yes, 2 = indeterminate (partially installed)
|
||||
#define EVERYTHING_IPC_IS_START_MENU_SHORTCUTS 300 // int ret = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_START_MENU_SHORTCUTS,0);
|
||||
#define EVERYTHING_IPC_IS_QUICK_LAUNCH_SHORTCUT 301 // int ret = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_QUICK_LAUNCH_SHORTCUT,0);
|
||||
#define EVERYTHING_IPC_IS_DESKTOP_SHORTCUT 302 // int ret = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_DESKTOP_SHORTCUT,0);
|
||||
#define EVERYTHING_IPC_IS_FOLDER_CONTEXT_MENU 303 // int ret = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_FOLDER_CONTEXT_MENU,0);
|
||||
#define EVERYTHING_IPC_IS_RUN_ON_SYSTEM_STARTUP 304 // int ret = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_RUN_ON_SYSTEM_STARTUP,0);
|
||||
#define EVERYTHING_IPC_IS_URL_PROTOCOL 305 // int ret = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_URL_PROTOCOL,0);
|
||||
#define EVERYTHING_IPC_IS_SERVICE 306 // int ret = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_SERVICE,0);
|
||||
|
||||
// indexing
|
||||
#define EVERYTHING_IPC_IS_NTFS_DRIVE_INDEXED 400 // int is_indexed = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_NTFS_DRIVE_INDEXED,drive_index); drive_index: 0-25 = 0=A:, 1=B:, 2=C:...
|
||||
|
||||
// requires Everything 1.4:
|
||||
#define EVERYTHING_IPC_IS_DB_LOADED 401 // int is_db_loaded = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_DB_LOADED,0);
|
||||
#define EVERYTHING_IPC_IS_DB_BUSY 402 // int is_db_busy = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_DB_BUSY,0); // db is busy, issueing another action will cancel the current one (if possible).
|
||||
#define EVERYTHING_IPC_IS_ADMIN 403 // int is_admin = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_ADMIN,0);
|
||||
#define EVERYTHING_IPC_IS_APPDATA 404 // int is_appdata = (int)SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_APPDATA,0);
|
||||
#define EVERYTHING_IPC_REBUILD_DB 405 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_REBUILD,0); // forces all indexes to be rescanned.
|
||||
#define EVERYTHING_IPC_UPDATE_ALL_FOLDER_INDEXES 406 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_UPDATE_ALL_FOLDER_INDEXES,0); // rescan all folder indexes.
|
||||
#define EVERYTHING_IPC_SAVE_DB 407 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_SAVE_DB,0); // save the db to disk.
|
||||
#define EVERYTHING_IPC_SAVE_RUN_HISTORY 408 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_SAVE_RUN_HISTORY,0); // save run history to disk.
|
||||
#define EVERYTHING_IPC_DELETE_RUN_HISTORY 409 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_DELETE_RUN_HISTORY,0); // deletes all run history from memory and disk.
|
||||
#define EVERYTHING_IPC_IS_FAST_SORT 410 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_FAST_SORT,EVERYTHING_IPC_SORT_*); // is the sort information indexed?
|
||||
#define EVERYTHING_IPC_IS_FILE_INFO_INDEXED 411 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_FILE_INFO_INDEXED,EVERYTHING_IPC_FILE_INFO_*); // is the file/folder info indexed?
|
||||
|
||||
// Everything 1.5
|
||||
#define EVERYTHING_IPC_QUEUE_REBUILD_DB 412 // SendMessage(everything_taskbar_notification_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_QUEUE_REBUILD_DB,0); // forces all indexes to be rescanned when the db is ready.
|
||||
|
||||
// send the following to an existing Everything search window (requires Everything 1.4.1)
|
||||
// SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_*,0);
|
||||
#define EVERYTHING_IPC_IS_MATCH_CASE 500 // int is_match_case = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_MATCH_CASE,0);
|
||||
#define EVERYTHING_IPC_IS_MATCH_WHOLE_WORD 501 // int is_match_whole_words = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_MATCH_WHOLE_WORD,0);
|
||||
#define EVERYTHING_IPC_IS_MATCH_PATH 502 // int is_match_path = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_MATCH_PATH,0);
|
||||
#define EVERYTHING_IPC_IS_MATCH_DIACRITICS 503 // int is_match_diacritics = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_MATCH_DIACRITICS,0);
|
||||
#define EVERYTHING_IPC_IS_REGEX 504 // int is_regex = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_REGEX,0);
|
||||
#define EVERYTHING_IPC_IS_FILTERS 505 // int is_filters = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_FILTERS,0);
|
||||
#define EVERYTHING_IPC_IS_PREVIEW 506 // int is_preview = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_PREVIEW,0);
|
||||
#define EVERYTHING_IPC_IS_STATUS_BAR 507 // int is_status_bar = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_STATUS_BAR,0);
|
||||
#define EVERYTHING_IPC_IS_DETAILS 508 // int is_details = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_DETAILS,0);
|
||||
#define EVERYTHING_IPC_GET_THUMBNAIL_SIZE 509 // int thumbnail_size = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_GET_THUMBNAIL_SIZE,0); 0 = details
|
||||
#define EVERYTHING_IPC_GET_SORT 510 // int sort = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_GET_SORT,0); sort can be one of EVERYTHING_IPC_SORT_* types.
|
||||
#define EVERYTHING_IPC_GET_ON_TOP 511 // int on_top = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_GET_ON_TOP,0); 0=never, 1=always, 2=while searching.
|
||||
#define EVERYTHING_IPC_GET_FILTER 512 // int filter = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_GET_FILTER,0); filter can be one of EVERYTHING_IPC_FILTER_* types.
|
||||
#define EVERYTHING_IPC_GET_FILTER_INDEX 513 // int filter_index = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_GET_FILTER_INDEX,0);
|
||||
|
||||
// Everything 1.5
|
||||
#define EVERYTHING_IPC_IS_MATCH_PREFIX 514 // int is_match_prefix = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_MATCH_PREFIX,0);
|
||||
#define EVERYTHING_IPC_IS_MATCH_SUFFIX 515 // int is_match_suffix = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_MATCH_SUFFIX,0);
|
||||
#define EVERYTHING_IPC_IS_IGNORE_PUNCTUATION 516 // int is_ignore_punctuation = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_IGNORE_PUNCTUATION,0);
|
||||
#define EVERYTHING_IPC_IS_IGNORE_WHITESPACE 517 // int is_ignore_whitespace = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_IGNORE_WHITESPACE,0);
|
||||
#define EVERYTHING_IPC_IS_SEARCH_AS_YOU_TYPE 518 // int is_search_as_you_type = (int)SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_SEARCH_AS_YOU_TYPE,0);
|
||||
|
||||
// command IDs to send to an Everything search window.
|
||||
// SendMessage(FindWindow(EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS,0),WM_COMMAND,MAKEWPARAM(EVERYTHING_IPC_ID_*,0),0);
|
||||
|
||||
// main menus
|
||||
|
||||
#define EVERYTHING_IPC_ID_FILE_MENU 10001
|
||||
#define EVERYTHING_IPC_ID_EDIT_MENU 10002
|
||||
#define EVERYTHING_IPC_ID_SEARCH_MENU 10003
|
||||
#define EVERYTHING_IPC_ID_TOOLS_MENU 10004
|
||||
#define EVERYTHING_IPC_ID_HELP_MENU 10005
|
||||
#define EVERYTHING_IPC_ID_TOOLBAR 10006
|
||||
#define EVERYTHING_IPC_ID_SEARCH_EDIT 10007
|
||||
#define EVERYTHING_IPC_ID_FILTER 10008
|
||||
#define EVERYTHING_IPC_ID_RESULTS_HEADER 10009
|
||||
#define EVERYTHING_IPC_ID_STATUS 10010
|
||||
#define EVERYTHING_IPC_ID_VIEW_ZOOM_MENU 10012
|
||||
#define EVERYTHING_IPC_ID_VIEW_MENU 10013
|
||||
#define EVERYTHING_IPC_ID_VIEW_WINDOW_SIZE_MENU 10019
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST 10020
|
||||
#define EVERYTHING_IPC_ID_BOOKMARKS_MENU 10021
|
||||
#define EVERYTHING_IPC_ID_VIEW_SORT_BY_MENU 10022
|
||||
#define EVERYTHING_IPC_ID_VIEW_GOTO_MENU 10024
|
||||
#define EVERYTHING_IPC_ID_VIEW_ONTOP_MENU 10025
|
||||
#define EVERYTHING_IPC_ID_PREVIEW 10026
|
||||
|
||||
// TRAY
|
||||
#define EVERYTHING_IPC_ID_TRAY_NEW_SEARCH_WINDOW 40001
|
||||
#define EVERYTHING_IPC_ID_TRAY_CONNECT_TO_ETP_SERVER 40004
|
||||
#define EVERYTHING_IPC_ID_TRAY_OPTIONS 40005
|
||||
#define EVERYTHING_IPC_ID_TRAY_EXIT 40006
|
||||
#define EVERYTHING_IPC_ID_TRAY_SHOW_SEARCH_WINDOW 40007
|
||||
#define EVERYTHING_IPC_ID_TRAY_TOGGLE_SEARCH_WINDOW 40008
|
||||
|
||||
// FILE
|
||||
#define EVERYTHING_IPC_ID_FILE_NEW_WINDOW 40010
|
||||
#define EVERYTHING_IPC_ID_FILE_CLOSE 40011
|
||||
#define EVERYTHING_IPC_ID_FILE_EXPORT 40012
|
||||
#define EVERYTHING_IPC_ID_FILE_EXIT 40013
|
||||
#define EVERYTHING_IPC_ID_FILE_OPEN_FILELIST 40014
|
||||
#define EVERYTHING_IPC_ID_FILE_CLOSE_FILELIST 40015
|
||||
|
||||
// EDIT
|
||||
#define EVERYTHING_IPC_ID_EDIT_CUT 40020
|
||||
#define EVERYTHING_IPC_ID_EDIT_COPY 40021
|
||||
#define EVERYTHING_IPC_ID_EDIT_PASTE 40022
|
||||
#define EVERYTHING_IPC_ID_EDIT_SELECT_ALL 40023
|
||||
#define EVERYTHING_IPC_ID_EDIT_INVERT_SELECTION 40029
|
||||
|
||||
// VIEW
|
||||
#define EVERYTHING_IPC_ID_VIEW_ZOOM_IN 40030
|
||||
#define EVERYTHING_IPC_ID_VIEW_ZOOM_OUT 40031
|
||||
#define EVERYTHING_IPC_ID_VIEW_ZOOM_RESET 40032
|
||||
#define EVERYTHING_IPC_ID_VIEW_TOGGLE_FULLSCREEN 40034
|
||||
#define EVERYTHING_IPC_ID_VIEW_AUTO_FIT 40044
|
||||
#define EVERYTHING_IPC_ID_VIEW_AUTO_SIZE_1 40045
|
||||
#define EVERYTHING_IPC_ID_VIEW_AUTO_SIZE_2 40046
|
||||
#define EVERYTHING_IPC_ID_VIEW_AUTO_SIZE_3 40047
|
||||
#define EVERYTHING_IPC_ID_VIEW_REFRESH 40036
|
||||
#define EVERYTHING_IPC_ID_VIEW_FILTERS 40035
|
||||
#define EVERYTHING_IPC_ID_VIEW_SORT_BY_ASCENDING 40037
|
||||
#define EVERYTHING_IPC_ID_VIEW_SORT_BY_DESCENDING 40038
|
||||
#define EVERYTHING_IPC_ID_VIEW_STATUS_BAR 40039
|
||||
#define EVERYTHING_IPC_ID_VIEW_GOTO_BACK 40040
|
||||
#define EVERYTHING_IPC_ID_VIEW_GOTO_FORWARD 40041
|
||||
#define EVERYTHING_IPC_ID_VIEW_ONTOP_NEVER 40042
|
||||
#define EVERYTHING_IPC_ID_VIEW_ONTOP_ALWAYS 40043
|
||||
#define EVERYTHING_IPC_ID_VIEW_ONTOP_WHILE_SEARCHING 40048
|
||||
#define EVERYTHING_IPC_ID_VIEW_GOTO_HOME 40049
|
||||
#define EVERYTHING_IPC_ID_VIEW_TOGGLE_LTR_RTL 40050
|
||||
#define EVERYTHING_IPC_ID_VIEW_DETAILS 40051
|
||||
#define EVERYTHING_IPC_ID_VIEW_MEDIUM_ICONS 40052
|
||||
#define EVERYTHING_IPC_ID_VIEW_LARGE_ICONS 40053
|
||||
#define EVERYTHING_IPC_ID_VIEW_EXTRA_LARGE_ICONS 40054
|
||||
#define EVERYTHING_IPC_ID_VIEW_PREVIEW 40055
|
||||
#define EVERYTHING_IPC_ID_VIEW_GOTO_SHOW_ALL_HISTORY 40056
|
||||
#define EVERYTHING_IPC_ID_VIEW_INCREASE_THUMBNAIL_SIZE 40057
|
||||
#define EVERYTHING_IPC_ID_VIEW_DECREASE_THUMBNAIL_SIZE 40058
|
||||
#define EVERYTHING_IPC_ID_VIEW_SHOW_FILTERS 40096 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_VIEW_HIDE_FILTERS 40097 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_VIEW_SHOW_PREVIEW 40098 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_VIEW_HIDE_PREVIEW 40099 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_VIEW_SHOW_STATUS_BAR 40100 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_VIEW_HIDE_STATUS_BAR 40101 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_VIEW_DETAILS_NO_TOGGLE 40102 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_VIEW_MEDIUM_ICONS_NO_TOGGLE 40103 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_VIEW_LARGE_ICONS_NO_TOGGLE 40104 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_VIEW_EXTRA_LARGE_ICONS_NO_TOGGLE 40105 // Everything 1.4.1
|
||||
|
||||
// SEARCH
|
||||
#define EVERYTHING_IPC_ID_SEARCH_TOGGLE_MATCH_CASE 40060
|
||||
#define EVERYTHING_IPC_ID_SEARCH_TOGGLE_MATCH_WHOLE_WORD 40061
|
||||
#define EVERYTHING_IPC_ID_SEARCH_TOGGLE_MATCH_PATH 40062
|
||||
#define EVERYTHING_IPC_ID_SEARCH_TOGGLE_REGEX 40063
|
||||
#define EVERYTHING_IPC_ID_SEARCH_TOGGLE_MATCH_DIACRITICS 40066
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_ADD 40067
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_ORGANIZE 40068
|
||||
#define EVERYTHING_IPC_ID_SEARCH_ADVANCED_SEARCH 40069
|
||||
#define EVERYTHING_IPC_ID_SEARCH_ENABLE_MATCH_CASE 40106 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_ENABLE_MATCH_WHOLE_WORD 40107 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_ENABLE_MATCH_PATH 40108 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_ENABLE_REGEX 40109 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_ENABLE_MATCH_DIACRITICS 40110 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_DISABLE_MATCH_CASE 40111 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_DISABLE_MATCH_WHOLE_WORD 40112 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_DISABLE_MATCH_PATH 40113 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_DISABLE_REGEX 40114 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_DISABLE_MATCH_DIACRITICS 40115 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_EVERYTHING 40116 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_AUDIO 40117 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_COMPRESSED 40118 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_DOCUMENT 40119 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_EXECUTABLE 40120 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_FOLDER 40121 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_PICTURE 40122 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_VIDEO 40123 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_AUDIO_NO_TOGGLE 40124 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_COMPRESSED_NO_TOGGLE 40125 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_DOCUMENT_NO_TOGGLE 40126 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_EXECUTABLE_NO_TOGGLE 40127 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_FOLDER_NO_TOGGLE 40128 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_PICTURE_NO_TOGGLE 40129 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_SEARCH_FILTER_VIDEO_NO_TOGGLE 40130 // Everything 1.4.1
|
||||
|
||||
// TOOLS
|
||||
#define EVERYTHING_IPC_ID_TOOLS_CONNECT_TO_ETP_SERVER 40072
|
||||
#define EVERYTHING_IPC_ID_TOOLS_DISCONNECT_FROM_ETP_SERVER 40073
|
||||
#define EVERYTHING_IPC_ID_TOOLS_OPTIONS 40074
|
||||
#define EVERYTHING_IPC_ID_TOOLS_CONSOLE 40075
|
||||
#define EVERYTHING_IPC_ID_TOOLS_EDITOR 40076
|
||||
|
||||
// HELP
|
||||
#define EVERYTHING_IPC_ID_HELP_VIEW_HELP_TOPICS 40080
|
||||
#define EVERYTHING_IPC_ID_HELP_OPEN_EVERYTHING_WEBSITE 40081
|
||||
#define EVERYTHING_IPC_ID_HELP_CHECK_FOR_UPDATES 40082
|
||||
#define EVERYTHING_IPC_ID_HELP_ABOUT_EVERYTHING 40083
|
||||
#define EVERYTHING_IPC_ID_HELP_SEARCH_SYNTAX 40084
|
||||
#define EVERYTHING_IPC_ID_HELP_COMMAND_LINE_OPTIONS 40085
|
||||
#define EVERYTHING_IPC_ID_HELP_REGEX_SYNTAX 40086
|
||||
#define EVERYTHING_IPC_ID_HELP_DONATE 40087
|
||||
|
||||
// bookmarks
|
||||
#define EVERYTHING_IPC_ID_BOOKMARK_ADD 40090
|
||||
#define EVERYTHING_IPC_ID_BOOKMARK_ORGANIZE 40091
|
||||
#define EVERYTHING_IPC_ID_BOOKMARK_START 44000
|
||||
#define EVERYTHING_IPC_ID_BOOKMARK_END 45000 // exclusive
|
||||
|
||||
#define EVERYTHING_IPC_ID_FILTER_START 45000
|
||||
#define EVERYTHING_IPC_ID_FILTER_END 46000 // exclusive
|
||||
|
||||
#define EVERYTHING_IPC_ID_VIEW_GOTO_START 46000
|
||||
#define EVERYTHING_IPC_ID_VIEW_GOTO_END 47000 // exclusive
|
||||
|
||||
// files
|
||||
#define EVERYTHING_IPC_ID_FILE_OPEN 41000
|
||||
#define EVERYTHING_IPC_ID_FILE_OPEN_NEW 41048
|
||||
#define EVERYTHING_IPC_ID_FILE_OPEN_WITH 41049
|
||||
#define EVERYTHING_IPC_ID_FILE_EDIT 41050
|
||||
#define EVERYTHING_IPC_ID_FILE_PLAY 41051
|
||||
#define EVERYTHING_IPC_ID_FILE_PRINT 41052
|
||||
#define EVERYTHING_IPC_ID_FILE_PREVIEW 41053
|
||||
#define EVERYTHING_IPC_ID_FILE_PRINT_TO 41054
|
||||
#define EVERYTHING_IPC_ID_FILE_RUN_AS 41055
|
||||
#define EVERYTHING_IPC_ID_FILE_OPEN_WITH_DEFAULT_VERB 41056
|
||||
#define EVERYTHING_IPC_ID_FILE_OPEN_AND_CLOSE 41057
|
||||
#define EVERYTHING_IPC_ID_FILE_EXPLORE_PATH 41002
|
||||
#define EVERYTHING_IPC_ID_FILE_OPEN_PATH 41003
|
||||
#define EVERYTHING_IPC_ID_FILE_DELETE 41004
|
||||
#define EVERYTHING_IPC_ID_FILE_PERMANENTLY_DELETE 41005
|
||||
#define EVERYTHING_IPC_ID_FILE_RENAME 41006
|
||||
#define EVERYTHING_IPC_ID_FILE_COPY_FULL_PATH_AND_NAME 41007
|
||||
#define EVERYTHING_IPC_ID_FILE_COPY_PATH 41008
|
||||
#define EVERYTHING_IPC_ID_FILE_PROPERTIES 41009
|
||||
#define EVERYTHING_IPC_ID_FILE_READ_EXTENDED_INFORMATION 41064
|
||||
#define EVERYTHING_IPC_ID_FILE_CREATE_SHORTCUT 41065
|
||||
#define EVERYTHING_IPC_ID_FILE_SET_RUN_COUNT 41068
|
||||
#define EVERYTHING_IPC_ID_FILE_COPY_NAME 41011
|
||||
#define EVERYTHING_IPC_ID_FILE_OPEN_AND_DO_NOT_CLOSE 41076
|
||||
|
||||
// result list
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_EXPLORE 41001
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS 41010
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_AUTOFIT_COLUMNS 41012
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_DOWN 41018
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_UP 41019
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_PAGE_UP 41020
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_PAGE_DOWN 41021
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_START 41022
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_END 41023
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_DOWN_EXTEND 41024
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_UP_EXTEND 41025
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_PAGE_UP_EXTEND 41026
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_PAGE_DOWN_EXTEND 41027
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_START_EXTEND 41028
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_END_EXTEND 41029
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_DOWN 41030
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_UP 41031
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_PAGE_UP 41032
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_PAGE_DOWN 41033
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_START 41034
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_END 41035
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SCROLL_LEFT 41036
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SCROLL_RIGHT 41037
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SCROLL_PAGE_LEFT 41038
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SCROLL_PAGE_RIGHT 41039
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SELECT_FOCUS 41040
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_FOCUS_SELECTION 41041
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_CONTEXT_MENU 41046
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_DOWN_EXTEND 41058
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_UP_EXTEND 41059
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_PAGE_UP_EXTEND 41060
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_PAGE_DOWN_EXTEND 41061
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_START_EXTEND 41062
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_END_EXTEND 41063
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_AUTOFIT 41066
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_COPY_CSV 41067
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_LEFT_EXTEND 41070
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_RIGHT_EXTEND 41071
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_LEFT_EXTEND 41072
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_RIGHT_EXTEND 41073
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_MOST_RUN 41074
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_LAST_RUN 41075
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_LEFT 41079 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_RIGHT 41080 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_LEFT 41081 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_FOCUS_RIGHT 41082 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SCROLL_LEFT_SCROLL_ONLY 41083 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SCROLL_RIGHT_SCROLL_ONLY 41084 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SCROLL_PAGE_LEFT_SCROLL_ONLY 41085 // Everything 1.4.1
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SCROLL_PAGE_RIGHT_SCROLL_ONLY 41086 // Everything 1.4.1
|
||||
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_NAME 41300
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_PATH 41301
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_SIZE 41302
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_EXTENSION 41303
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_TYPE 41304
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_DATE_MODIFIED 41305
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_DATE_CREATED 41306
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_ATTRIBUTES 41307
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_FILE_LIST_FILENAME 41308
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_RUN_COUNT 41309
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_DATE_RECENTLY_CHANGED 41310
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_DATE_ACCESSED 41311
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_DATE_RUN 41312
|
||||
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_NAME_COLUMN 41400
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_PATH_COLUMN 41401
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_SIZE_COLUMN 41402
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_EXTENSION_COLUMN 41403
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_TYPE_COLUMN 41404
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_DATE_MODIFIED_COLUMN 41405
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_DATE_CREATED_COLUMN 41406
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_ATTRIBUTES_COLUMN 41407
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_FILE_LIST_FILENAME_COLUMN 41408
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_RUN_COUNT_COLUMN 41409
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_DATE_RECENTLY_CHANGED_COLUMN 41410
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_DATE_ACCESSED_COLUMN 41411
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_DATE_RUN_COLUMN 41412
|
||||
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_NAME_COLUMN_TO_FIT 41600
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_PATH_COLUMN_TO_FIT 41601
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_SIZE_COLUMN_TO_FIT 41602
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_EXTENSION_COLUMN_TO_FIT 41603
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_TYPE_COLUMN_TO_FIT 41604
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_DATE_MODIFIED_COLUMN_TO_FIT 41605
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_DATE_CREATED_COLUMN_TO_FIT 41606
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_ATTRIBUTES_COLUMN_TO_FIT 41607
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_FILE_LIST_FILENAME_COLUMN_TO_FIT 41608
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_RUN_COUNT_COLUMN_TO_FIT 41609
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_DATE_RECENTLY_CHANGED_COLUMN_TO_FIT 41610
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_DATE_ACCESSED_COLUMN_TO_FIT 41611
|
||||
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_DATE_RUN_COLUMN_TO_FIT 41612
|
||||
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB01 41500
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB02 41501
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB03 41502
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB04 41503
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB05 41504
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB06 41505
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB07 41506
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB08 41507
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB09 41508
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB10 41509
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB11 41510
|
||||
#define EVERYTHING_IPC_ID_FILE_CUSTOM_VERB12 41511
|
||||
|
||||
// search
|
||||
#define EVERYTHING_IPC_ID_SEARCH_EDIT_FOCUS 42000
|
||||
#define EVERYTHING_IPC_ID_SEARCH_EDIT_WORD_DELETE_TO_START 42019
|
||||
#define EVERYTHING_IPC_ID_SEARCH_EDIT_AUTO_COMPLETE 42020
|
||||
#define EVERYTHING_IPC_ID_SEARCH_EDIT_SHOW_SEARCH_HISTORY 42021
|
||||
#define EVERYTHING_IPC_ID_SEARCH_EDIT_SHOW_ALL_SEARCH_HISTORY 42022
|
||||
|
||||
#define EVERYTHING_IPC_ID_TRAY_EDITOR 41700
|
||||
#define EVERYTHING_IPC_ID_TRAY_OPEN_FILELIST 41701
|
||||
|
||||
#define EVERYTHING_IPC_ID_INDEX_UPDATE_ALL_FOLDERS_NOW 41800
|
||||
#define EVERYTHING_IPC_ID_INDEX_FORCE_REBUILD 41801
|
||||
|
||||
// find the everything IPC window
|
||||
#define EVERYTHING_IPC_WNDCLASSW L"EVERYTHING_TASKBAR_NOTIFICATION"
|
||||
#define EVERYTHING_IPC_WNDCLASSA "EVERYTHING_TASKBAR_NOTIFICATION"
|
||||
|
||||
// an Everything search window
|
||||
#define EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASSW L"EVERYTHING"
|
||||
#define EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASSA "EVERYTHING"
|
||||
|
||||
// this global window message is sent to all top level windows when everything starts.
|
||||
#define EVERYTHING_IPC_CREATEDW L"EVERYTHING_IPC_CREATED"
|
||||
#define EVERYTHING_IPC_CREATEDA "EVERYTHING_IPC_CREATED"
|
||||
|
||||
// search flags for querys
|
||||
#define EVERYTHING_IPC_MATCHCASE 0x00000001 // match case
|
||||
#define EVERYTHING_IPC_MATCHWHOLEWORD 0x00000002 // match whole word
|
||||
#define EVERYTHING_IPC_MATCHPATH 0x00000004 // include paths in search
|
||||
#define EVERYTHING_IPC_REGEX 0x00000008 // enable regex
|
||||
#define EVERYTHING_IPC_MATCHACCENTS 0x00000010 // match diacritic marks
|
||||
#define EVERYTHING_IPC_MATCHDIACRITICS 0x00000010 // match diacritic marks
|
||||
#define EVERYTHING_IPC_MATCHPREFIX 0x00000020 // match prefix (Everything 1.5)
|
||||
#define EVERYTHING_IPC_MATCHSUFFIX 0x00000040 // match suffix (Everything 1.5)
|
||||
#define EVERYTHING_IPC_IGNOREPUNCTUATION 0x00000080 // ignore punctuation (Everything 1.5)
|
||||
#define EVERYTHING_IPC_IGNOREWHITESPACE 0x00000100 // ignore white-space (Everything 1.5)
|
||||
|
||||
// item flags
|
||||
#define EVERYTHING_IPC_FOLDER 0x00000001 // The item is a folder. (it's a file if not set)
|
||||
#define EVERYTHING_IPC_DRIVE 0x00000002 // the file or folder is a drive/root.
|
||||
#define EVERYTHING_IPC_ROOT 0x00000002 // the file or folder is a root.
|
||||
|
||||
typedef struct EVERYTHING_IPC_COMMAND_LINE
|
||||
{
|
||||
DWORD show_command; // MUST be one of the SW_* ShowWindow() commands
|
||||
|
||||
// null terminated variable sized command line text in UTF-8.
|
||||
BYTE command_line_text[1];
|
||||
|
||||
}EVERYTHING_IPC_COMMAND_LINE;
|
||||
|
||||
// the WM_COPYDATA message for a query.
|
||||
#define EVERYTHING_IPC_COPYDATA_COMMAND_LINE_UTF8 0 // Send a EVERYTHING_IPC_COMMAND_LINE structure.
|
||||
#define EVERYTHING_IPC_COPYDATAQUERYA 1
|
||||
#define EVERYTHING_IPC_COPYDATAQUERYW 2
|
||||
|
||||
// all results
|
||||
#define EVERYTHING_IPC_ALLRESULTS 0xFFFFFFFF // all results
|
||||
|
||||
// macro to get the filename of an item
|
||||
#define EVERYTHING_IPC_ITEMFILENAMEA(list,item) (CHAR *)((CHAR *)(list) + ((EVERYTHING_IPC_ITEMA *)(item))->filename_offset)
|
||||
#define EVERYTHING_IPC_ITEMFILENAMEW(list,item) (WCHAR *)((CHAR *)(list) + ((EVERYTHING_IPC_ITEMW *)(item))->filename_offset)
|
||||
|
||||
// macro to get the path of an item
|
||||
#define EVERYTHING_IPC_ITEMPATHA(list,item) (CHAR *)((CHAR *)(list) + ((EVERYTHING_IPC_ITEMA *)(item))->path_offset)
|
||||
#define EVERYTHING_IPC_ITEMPATHW(list,item) (WCHAR *)((CHAR *)(list) + ((EVERYTHING_IPC_ITEMW *)(item))->path_offset)
|
||||
|
||||
#pragma pack (push,1)
|
||||
|
||||
//
|
||||
// Varible sized query struct sent to everything.
|
||||
//
|
||||
// sent in the form of a WM_COPYDATA message with EVERYTHING_IPC_COPYDATAQUERY as the
|
||||
// dwData member in the COPYDATASTRUCT struct.
|
||||
// set the lpData member of the COPYDATASTRUCT struct to point to your EVERYTHING_IPC_QUERY struct.
|
||||
// set the cbData member of the COPYDATASTRUCT struct to the size of the
|
||||
// EVERYTHING_IPC_QUERY struct minus the size of a TCHAR plus the length of the search string in bytes plus
|
||||
// one TCHAR for the null terminator.
|
||||
//
|
||||
// NOTE: to determine the size of this structure use
|
||||
// ASCII: sizeof(EVERYTHING_IPC_QUERYA) - sizeof(CHAR) + strlen(search_string)*sizeof(CHAR) + sizeof(CHAR)
|
||||
// UNICODE: sizeof(EVERYTHING_IPC_QUERYW) - sizeof(WCHAR) + wcslen(search_string)*sizeof(WCHAR) + sizeof(WCHAR)
|
||||
//
|
||||
// NOTE: Everything will only do one query per window.
|
||||
// Sending another query when a query has not completed
|
||||
// will cancel the old query and start the new one.
|
||||
//
|
||||
// Everything will send the results to the reply_hwnd in the form of a
|
||||
// WM_COPYDATA message with the dwData value you specify.
|
||||
//
|
||||
// Everything will return TRUE if successful.
|
||||
// returns FALSE if not supported.
|
||||
//
|
||||
// If you query with EVERYTHING_IPC_COPYDATAQUERYW, the results sent from Everything will be Unicode.
|
||||
//
|
||||
|
||||
typedef struct EVERYTHING_IPC_QUERYW
|
||||
{
|
||||
// the window that will receive the new results.
|
||||
// only 32bits are required to store a window handle. (even on x64)
|
||||
DWORD reply_hwnd;
|
||||
|
||||
// the value to set the dwData member in the COPYDATASTRUCT struct
|
||||
// sent by Everything when the query is complete.
|
||||
DWORD reply_copydata_message;
|
||||
|
||||
// search flags (see EVERYTHING_IPC_MATCHCASE | EVERYTHING_IPC_MATCHWHOLEWORD | EVERYTHING_IPC_MATCHPATH)
|
||||
DWORD search_flags;
|
||||
|
||||
// only return results after 'offset' results (0 to return from the first result)
|
||||
// useful for scrollable lists
|
||||
DWORD offset;
|
||||
|
||||
// the number of results to return
|
||||
// zero to return no results
|
||||
// EVERYTHING_IPC_ALLRESULTS to return ALL results
|
||||
DWORD max_results;
|
||||
|
||||
// null terminated string. variable lengthed search string buffer.
|
||||
WCHAR search_string[1];
|
||||
|
||||
}EVERYTHING_IPC_QUERYW;
|
||||
|
||||
// ASCII version
|
||||
typedef struct EVERYTHING_IPC_QUERYA
|
||||
{
|
||||
// the window that will receive the new results.
|
||||
// only 32bits are required to store a window handle. (even on x64)
|
||||
DWORD reply_hwnd;
|
||||
|
||||
// the value to set the dwData member in the COPYDATASTRUCT struct
|
||||
// sent by Everything when the query is complete.
|
||||
DWORD reply_copydata_message;
|
||||
|
||||
// search flags (see EVERYTHING_IPC_MATCHCASE | EVERYTHING_IPC_MATCHWHOLEWORD | EVERYTHING_IPC_MATCHPATH)
|
||||
DWORD search_flags;
|
||||
|
||||
// only return results after 'offset' results (0 to return from the first result)
|
||||
// useful for scrollable lists
|
||||
DWORD offset;
|
||||
|
||||
// the number of results to return
|
||||
// zero to return no results
|
||||
// EVERYTHING_IPC_ALLRESULTS to return ALL results
|
||||
DWORD max_results;
|
||||
|
||||
// null terminated string. variable lengthed search string buffer.
|
||||
CHAR search_string[1];
|
||||
|
||||
}EVERYTHING_IPC_QUERYA;
|
||||
|
||||
//
|
||||
// Varible sized result list struct received from Everything.
|
||||
//
|
||||
// Sent in the form of a WM_COPYDATA message to the hwnd specifed in the
|
||||
// EVERYTHING_IPC_QUERY struct.
|
||||
// the dwData member of the COPYDATASTRUCT struct will match the sent
|
||||
// reply_copydata_message member in the EVERYTHING_IPC_QUERY struct.
|
||||
//
|
||||
// make a copy of the data before returning.
|
||||
//
|
||||
// return TRUE if you processed the WM_COPYDATA message.
|
||||
//
|
||||
|
||||
typedef struct EVERYTHING_IPC_ITEMW
|
||||
{
|
||||
// item flags
|
||||
DWORD flags;
|
||||
|
||||
// The offset of the filename from the beginning of the list structure.
|
||||
// (wchar_t *)((char *)everything_list + everythinglist->name_offset)
|
||||
DWORD filename_offset;
|
||||
|
||||
// The offset of the filename from the beginning of the list structure.
|
||||
// (wchar_t *)((char *)everything_list + everythinglist->path_offset)
|
||||
DWORD path_offset;
|
||||
|
||||
}EVERYTHING_IPC_ITEMW;
|
||||
|
||||
typedef struct EVERYTHING_IPC_ITEMA
|
||||
{
|
||||
// item flags
|
||||
DWORD flags;
|
||||
|
||||
// The offset of the filename from the beginning of the list structure.
|
||||
// (char *)((char *)everything_list + everythinglist->name_offset)
|
||||
DWORD filename_offset;
|
||||
|
||||
// The offset of the filename from the beginning of the list structure.
|
||||
// (char *)((char *)everything_list + everythinglist->path_offset)
|
||||
DWORD path_offset;
|
||||
|
||||
}EVERYTHING_IPC_ITEMA;
|
||||
|
||||
typedef struct EVERYTHING_IPC_LISTW
|
||||
{
|
||||
// the total number of folders found.
|
||||
DWORD totfolders;
|
||||
|
||||
// the total number of files found.
|
||||
DWORD totfiles;
|
||||
|
||||
// totfolders + totfiles
|
||||
DWORD totitems;
|
||||
|
||||
// the number of folders available.
|
||||
DWORD numfolders;
|
||||
|
||||
// the number of files available.
|
||||
DWORD numfiles;
|
||||
|
||||
// the number of items available.
|
||||
DWORD numitems;
|
||||
|
||||
// index offset of the first result in the item list.
|
||||
DWORD offset;
|
||||
|
||||
// variable lengthed item list.
|
||||
// use numitems to determine the actual number of items available.
|
||||
EVERYTHING_IPC_ITEMW items[1];
|
||||
|
||||
}EVERYTHING_IPC_LISTW;
|
||||
|
||||
typedef struct EVERYTHING_IPC_LISTA
|
||||
{
|
||||
// the total number of folders found.
|
||||
DWORD totfolders;
|
||||
|
||||
// the total number of files found.
|
||||
DWORD totfiles;
|
||||
|
||||
// totfolders + totfiles
|
||||
DWORD totitems;
|
||||
|
||||
// the number of folders available.
|
||||
DWORD numfolders;
|
||||
|
||||
// the number of files available.
|
||||
DWORD numfiles;
|
||||
|
||||
// the number of items available.
|
||||
DWORD numitems;
|
||||
|
||||
// index offset of the first result in the item list.
|
||||
DWORD offset;
|
||||
|
||||
// variable lengthed item list.
|
||||
// use numitems to determine the actual number of items available.
|
||||
EVERYTHING_IPC_ITEMA items[1];
|
||||
|
||||
}EVERYTHING_IPC_LISTA;
|
||||
|
||||
#pragma pack (pop)
|
||||
|
||||
#ifdef UNICODE
|
||||
#define EVERYTHING_IPC_COPYDATAQUERY EVERYTHING_IPC_COPYDATAQUERYW
|
||||
#define EVERYTHING_IPC_ITEMFILENAME EVERYTHING_IPC_ITEMFILENAMEW
|
||||
#define EVERYTHING_IPC_ITEMPATH EVERYTHING_IPC_ITEMPATHW
|
||||
#define EVERYTHING_IPC_QUERY EVERYTHING_IPC_QUERYW
|
||||
#define EVERYTHING_IPC_ITEM EVERYTHING_IPC_ITEMW
|
||||
#define EVERYTHING_IPC_LIST EVERYTHING_IPC_LISTW
|
||||
#define EVERYTHING_IPC_WNDCLASS EVERYTHING_IPC_WNDCLASSW
|
||||
#define EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASSW
|
||||
#define EVERYTHING_IPC_CREATED EVERYTHING_IPC_CREATEDW
|
||||
#else
|
||||
#define EVERYTHING_IPC_COPYDATAQUERY EVERYTHING_IPC_COPYDATAQUERYA
|
||||
#define EVERYTHING_IPC_ITEMFILENAME EVERYTHING_IPC_ITEMFILENAMEA
|
||||
#define EVERYTHING_IPC_ITEMPATH EVERYTHING_IPC_ITEMPATHA
|
||||
#define EVERYTHING_IPC_QUERY EVERYTHING_IPC_QUERYA
|
||||
#define EVERYTHING_IPC_ITEM EVERYTHING_IPC_ITEMA
|
||||
#define EVERYTHING_IPC_LIST EVERYTHING_IPC_LISTA
|
||||
#define EVERYTHING_IPC_WNDCLASS EVERYTHING_IPC_WNDCLASSA
|
||||
#define EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASS EVERYTHING_IPC_SEARCH_CLIENT_WNDCLASSA
|
||||
#define EVERYTHING_IPC_CREATED EVERYTHING_IPC_CREATEDA
|
||||
#endif
|
||||
|
||||
// the WM_COPYDATA message for a query.
|
||||
// requires Everything 1.4.1
|
||||
#define EVERYTHING_IPC_COPYDATA_QUERY2A 17
|
||||
#define EVERYTHING_IPC_COPYDATA_QUERY2W 18
|
||||
|
||||
#define EVERYTHING_IPC_SORT_NAME_ASCENDING 1
|
||||
#define EVERYTHING_IPC_SORT_NAME_DESCENDING 2
|
||||
#define EVERYTHING_IPC_SORT_PATH_ASCENDING 3
|
||||
#define EVERYTHING_IPC_SORT_PATH_DESCENDING 4
|
||||
#define EVERYTHING_IPC_SORT_SIZE_ASCENDING 5
|
||||
#define EVERYTHING_IPC_SORT_SIZE_DESCENDING 6
|
||||
#define EVERYTHING_IPC_SORT_EXTENSION_ASCENDING 7
|
||||
#define EVERYTHING_IPC_SORT_EXTENSION_DESCENDING 8
|
||||
#define EVERYTHING_IPC_SORT_TYPE_NAME_ASCENDING 9
|
||||
#define EVERYTHING_IPC_SORT_TYPE_NAME_DESCENDING 10
|
||||
#define EVERYTHING_IPC_SORT_DATE_CREATED_ASCENDING 11
|
||||
#define EVERYTHING_IPC_SORT_DATE_CREATED_DESCENDING 12
|
||||
#define EVERYTHING_IPC_SORT_DATE_MODIFIED_ASCENDING 13
|
||||
#define EVERYTHING_IPC_SORT_DATE_MODIFIED_DESCENDING 14
|
||||
#define EVERYTHING_IPC_SORT_ATTRIBUTES_ASCENDING 15
|
||||
#define EVERYTHING_IPC_SORT_ATTRIBUTES_DESCENDING 16
|
||||
#define EVERYTHING_IPC_SORT_FILE_LIST_FILENAME_ASCENDING 17
|
||||
#define EVERYTHING_IPC_SORT_FILE_LIST_FILENAME_DESCENDING 18
|
||||
#define EVERYTHING_IPC_SORT_RUN_COUNT_ASCENDING 19
|
||||
#define EVERYTHING_IPC_SORT_RUN_COUNT_DESCENDING 20
|
||||
#define EVERYTHING_IPC_SORT_DATE_RECENTLY_CHANGED_ASCENDING 21
|
||||
#define EVERYTHING_IPC_SORT_DATE_RECENTLY_CHANGED_DESCENDING 22
|
||||
#define EVERYTHING_IPC_SORT_DATE_ACCESSED_ASCENDING 23
|
||||
#define EVERYTHING_IPC_SORT_DATE_ACCESSED_DESCENDING 24
|
||||
#define EVERYTHING_IPC_SORT_DATE_RUN_ASCENDING 25
|
||||
#define EVERYTHING_IPC_SORT_DATE_RUN_DESCENDING 26
|
||||
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_NAME 0x00000001
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_PATH 0x00000002
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_FULL_PATH_AND_NAME 0x00000004
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_EXTENSION 0x00000008
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_SIZE 0x00000010
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_DATE_CREATED 0x00000020
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_DATE_MODIFIED 0x00000040
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_DATE_ACCESSED 0x00000080
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_ATTRIBUTES 0x00000100
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_FILE_LIST_FILE_NAME 0x00000200
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_RUN_COUNT 0x00000400
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_DATE_RUN 0x00000800
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_DATE_RECENTLY_CHANGED 0x00001000
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_HIGHLIGHTED_NAME 0x00002000
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_HIGHLIGHTED_PATH 0x00004000
|
||||
#define EVERYTHING_IPC_QUERY2_REQUEST_HIGHLIGHTED_FULL_PATH_AND_NAME 0x00008000
|
||||
|
||||
#define EVERYTHING_IPC_FILE_INFO_FILE_SIZE 1
|
||||
#define EVERYTHING_IPC_FILE_INFO_FOLDER_SIZE 2
|
||||
#define EVERYTHING_IPC_FILE_INFO_DATE_CREATED 3
|
||||
#define EVERYTHING_IPC_FILE_INFO_DATE_MODIFIED 4
|
||||
#define EVERYTHING_IPC_FILE_INFO_DATE_ACCESSED 5
|
||||
#define EVERYTHING_IPC_FILE_INFO_ATTRIBUTES 6
|
||||
|
||||
#pragma pack (push,1)
|
||||
|
||||
//
|
||||
// Varible sized query struct sent to everything.
|
||||
//
|
||||
// sent in the form of a WM_COPYDATA message with EVERYTHING_IPC_COPYDATA_QUERY2 as the
|
||||
// dwData member in the COPYDATASTRUCT struct.
|
||||
// set the lpData member of the COPYDATASTRUCT struct to point to your EVERYTHING_IPC_QUERY struct.
|
||||
// set the cbData member of the COPYDATASTRUCT struct to the size of the
|
||||
// EVERYTHING_IPC_QUERY struct minus the size of a TCHAR plus the length of the search string in bytes plus
|
||||
// one TCHAR for the null terminator.
|
||||
//
|
||||
// NOTE: Everything will only do one query per window.
|
||||
// Sending another query when a query has not completed
|
||||
// will cancel the old query and start the new one.
|
||||
//
|
||||
// Everything will send the results to the reply_hwnd in the form of a
|
||||
// WM_COPYDATA message with the dwData value you specify.
|
||||
//
|
||||
// Everything will return TRUE if successful.
|
||||
// returns FALSE if not supported.
|
||||
//
|
||||
// If you query with EVERYTHING_IPC_COPYDATA_QUERYW, the results sent from Everything will be Unicode.
|
||||
//
|
||||
|
||||
// ASCII version
|
||||
typedef struct EVERYTHING_IPC_QUERY2
|
||||
{
|
||||
// the window that will receive the new results.
|
||||
// only 32bits are required to store a window handle. (even on x64)
|
||||
DWORD reply_hwnd;
|
||||
|
||||
// the value to set the dwData member in the COPYDATASTRUCT struct
|
||||
// sent by Everything when the query is complete.
|
||||
DWORD reply_copydata_message;
|
||||
|
||||
// search flags (see EVERYTHING_IPC_MATCHCASE | EVERYTHING_IPC_MATCHWHOLEWORD | EVERYTHING_IPC_MATCHPATH)
|
||||
DWORD search_flags;
|
||||
|
||||
// only return results after 'offset' results (0 to return from the first result)
|
||||
// useful for scrollable lists
|
||||
DWORD offset;
|
||||
|
||||
// the number of results to return
|
||||
// zero to return no results
|
||||
// EVERYTHING_IPC_ALLRESULTS to return ALL results
|
||||
DWORD max_results;
|
||||
|
||||
// request types.
|
||||
// one or more of EVERYTHING_IPC_QUERY2_REQUEST_* types.
|
||||
DWORD request_flags;
|
||||
|
||||
// sort type, set to one of EVERYTHING_IPC_SORT_* types.
|
||||
// set to EVERYTHING_IPC_SORT_NAME_ASCENDING for the best performance (there will never be a performance hit when sorting by name ascending).
|
||||
// Other sorts will also be instant if the corresponding fast sort is enabled from Tools -> Options -> Indexes.
|
||||
DWORD sort_type;
|
||||
|
||||
// followed by null terminated search.
|
||||
// TCHAR search_string[1];
|
||||
|
||||
}EVERYTHING_IPC_QUERY2;
|
||||
|
||||
typedef struct EVERYTHING_IPC_ITEM2
|
||||
{
|
||||
// item flags one of (EVERYTHING_IPC_FOLDER|EVERYTHING_IPC_DRIVE|EVERYTHING_IPC_ROOT)
|
||||
DWORD flags;
|
||||
|
||||
// offset from the start of the EVERYTHING_IPC_LIST2 struct to the data content
|
||||
DWORD data_offset;
|
||||
|
||||
// data found at data_offset
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_NAME was set in request_flags, DWORD name_length in characters (excluding the null terminator); followed by null terminated text.
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_PATH was set in request_flags, DWORD name_length in characters (excluding the null terminator); followed by null terminated text.
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_FULL_PATH_AND_NAME was set in request_flags, DWORD name_length (excluding the null terminator); followed by null terminated text.
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_SIZE was set in request_flags, LARGE_INTERGER size;
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_EXTENSION was set in request_flags, DWORD name_length in characters (excluding the null terminator); followed by null terminated text;
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_TYPE_NAME was set in request_flags, DWORD name_length in characters (excluding the null terminator); followed by null terminated text;
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_DATE_CREATED was set in request_flags, FILETIME date;
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_DATE_MODIFIED was set in request_flags, FILETIME date;
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_DATE_ACCESSED was set in request_flags, FILETIME date;
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_ATTRIBUTES was set in request_flags, DWORD attributes;
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_FILELIST_FILENAME was set in request_flags, DWORD name_length in characters (excluding the null terminator); followed by null terminated text;
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_RUN_COUNT was set in request_flags, DWORD run_count;
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_DATE_RUN was set in request_flags, FILETIME date;
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_DATE_RECENTLY_CHANGED was set in request_flags, FILETIME date;
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_HIGHLIGHTED_NAME was set in request_flags, DWORD name_length in characters (excluding the null terminator); followed by null terminated text; ** = *, *text* = highlighted text
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_HIGHLIGHTED_PATH was set in request_flags, DWORD name_length in characters (excluding the null terminator); followed by null terminated text; ** = *, *text* = highlighted text
|
||||
// if EVERYTHING_IPC_QUERY2_REQUEST_HIGHLIGHTED_FULL_PATH_AND_NAME was set in request_flags, DWORD name_length in characters (excluding the null terminator); followed by null terminated text; ** = *, *text* = highlighted text
|
||||
|
||||
}EVERYTHING_IPC_ITEM2;
|
||||
|
||||
typedef struct EVERYTHING_IPC_LIST2
|
||||
{
|
||||
// number of items found.
|
||||
DWORD totitems;
|
||||
|
||||
// the number of items available.
|
||||
DWORD numitems;
|
||||
|
||||
// index offset of the first result in the item list.
|
||||
DWORD offset;
|
||||
|
||||
// valid request types.
|
||||
DWORD request_flags;
|
||||
|
||||
// this sort type.
|
||||
// one of EVERYTHING_IPC_SORT_* types.
|
||||
// maybe different to requested sort type.
|
||||
DWORD sort_type;
|
||||
|
||||
// items follow.
|
||||
// EVERYTHING_IPC_ITEM2 items[numitems]
|
||||
|
||||
// item data follows.
|
||||
|
||||
}EVERYTHING_IPC_LIST2;
|
||||
|
||||
#pragma pack (pop)
|
||||
|
||||
// Get the Run Count for a file, by filename.
|
||||
// COPYDATASTRUCT cds;
|
||||
// cds.dwData = EVERYTHING_IPC_COPYDATA_GET_RUN_COUNTA;
|
||||
// cds.lpData = TEXT("C:\\folder\\file.txt");
|
||||
// cds.cbData = size in bytes of cds.lpData including null terminator.
|
||||
// SendMessage(everything_taskbar_notification_hwnd,WM_COPYDATA,(WPARAM)(HWND)notify_hwnd,(LPARAM)(COPYDATASTRUCT *)&cds);
|
||||
|
||||
#define EVERYTHING_IPC_COPYDATA_GET_RUN_COUNTA 19
|
||||
#define EVERYTHING_IPC_COPYDATA_GET_RUN_COUNTW 20
|
||||
|
||||
#pragma pack (push,1)
|
||||
|
||||
typedef struct EVERYTHING_IPC_RUN_HISTORY
|
||||
{
|
||||
DWORD run_count;
|
||||
|
||||
// null terminated ansi/wchar filename follows.
|
||||
// TCHAR filename[];
|
||||
|
||||
}EVERYTHING_IPC_RUN_HISTORY;
|
||||
|
||||
#pragma pack (pop)
|
||||
|
||||
// Set the Run Count by one for a file, by filename.
|
||||
// COPYDATASTRUCT cds;
|
||||
// cds.dwData = EVERYTHING_IPC_COPYDATA_GET_RUN_COUNTA;
|
||||
// cds.lpData = (EVERYTHING_IPC_RUN_HISTORY *)run_history;
|
||||
// cds.cbData = size in bytes of cds.lpData including null terminator.
|
||||
// SendMessage(everything_taskbar_notification_hwnd,WM_COPYDATA,(WPARAM)(HWND)notify_hwnd,(LPARAM)(COPYDATASTRUCT *)&cds);
|
||||
|
||||
#define EVERYTHING_IPC_COPYDATA_SET_RUN_COUNTA 21
|
||||
#define EVERYTHING_IPC_COPYDATA_SET_RUN_COUNTW 22
|
||||
|
||||
// Increment the Run Count by one for a file, by filename.
|
||||
// COPYDATASTRUCT cds;
|
||||
// cds.dwData = EVERYTHING_IPC_COPYDATA_GET_RUN_COUNTA;
|
||||
// cds.lpData = TEXT("C:\\folder\\file.txt");
|
||||
// cds.cbData = size in bytes of cds.lpData including null terminator.
|
||||
// SendMessage(everything_taskbar_notification_hwnd,WM_COPYDATA,(WPARAM)(HWND)notify_hwnd,(LPARAM)(COPYDATASTRUCT *)&cds);
|
||||
|
||||
#define EVERYTHING_IPC_COPYDATA_INC_RUN_COUNTA 23
|
||||
#define EVERYTHING_IPC_COPYDATA_INC_RUN_COUNTW 24
|
||||
|
||||
#ifdef UNICODE
|
||||
#define EVERYTHING_IPC_COPYDATA_QUERY2 EVERYTHING_IPC_COPYDATA_QUERY2W
|
||||
#else
|
||||
#define EVERYTHING_IPC_COPYDATA_QUERY2 EVERYTHING_IPC_COPYDATA_QUERY2A
|
||||
#endif
|
||||
|
||||
// end extern C
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // _EVERYTHING_H_
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,102 @@
|
|||
LIBRARY Everything32
|
||||
|
||||
EXPORTS
|
||||
|
||||
Everything_GetLastError
|
||||
|
||||
Everything_SetSearchA
|
||||
Everything_SetSearchW
|
||||
Everything_SetMatchPath
|
||||
Everything_SetMatchCase
|
||||
Everything_SetMatchWholeWord
|
||||
Everything_SetRegex
|
||||
Everything_SetMax
|
||||
Everything_SetOffset
|
||||
Everything_SetReplyID
|
||||
Everything_SetReplyWindow
|
||||
|
||||
Everything_GetSearchA
|
||||
Everything_GetSearchW
|
||||
Everything_GetMatchPath
|
||||
Everything_GetMatchCase
|
||||
Everything_GetMatchWholeWord
|
||||
Everything_GetRegex
|
||||
Everything_GetMax
|
||||
Everything_GetOffset
|
||||
Everything_GetReplyID
|
||||
Everything_GetReplyWindow
|
||||
|
||||
Everything_QueryA
|
||||
Everything_QueryW
|
||||
|
||||
Everything_IsQueryReply
|
||||
|
||||
Everything_SortResultsByPath
|
||||
|
||||
Everything_GetNumFileResults
|
||||
Everything_GetNumFolderResults
|
||||
Everything_GetNumResults
|
||||
Everything_GetTotFileResults
|
||||
Everything_GetTotFolderResults
|
||||
Everything_GetTotResults
|
||||
|
||||
Everything_IsVolumeResult
|
||||
Everything_IsFolderResult
|
||||
Everything_IsFileResult
|
||||
|
||||
Everything_GetResultFileNameA
|
||||
Everything_GetResultFileNameW
|
||||
Everything_GetResultPathA
|
||||
Everything_GetResultPathW
|
||||
Everything_GetResultFullPathNameA
|
||||
Everything_GetResultFullPathNameW
|
||||
|
||||
Everything_Reset
|
||||
Everything_CleanUp
|
||||
|
||||
Everything_SetSort
|
||||
Everything_SetRequestFlags
|
||||
Everything_GetSort
|
||||
Everything_GetRequestFlags
|
||||
Everything_GetResultListSort
|
||||
Everything_GetResultListRequestFlags
|
||||
Everything_GetResultExtensionW
|
||||
Everything_GetResultExtensionA
|
||||
Everything_GetResultSize
|
||||
Everything_GetResultDateCreated
|
||||
Everything_GetResultDateModified
|
||||
Everything_GetResultDateAccessed
|
||||
Everything_GetResultAttributes
|
||||
Everything_GetResultFileListFileNameW
|
||||
Everything_GetResultFileListFileNameA
|
||||
Everything_GetResultRunCount
|
||||
Everything_GetResultDateRun
|
||||
Everything_GetResultDateRecentlyChanged
|
||||
Everything_GetResultHighlightedFileNameW
|
||||
Everything_GetResultHighlightedFileNameA
|
||||
Everything_GetResultHighlightedPathW
|
||||
Everything_GetResultHighlightedPathA
|
||||
Everything_GetResultHighlightedFullPathAndFileNameW
|
||||
Everything_GetResultHighlightedFullPathAndFileNameA
|
||||
Everything_GetMajorVersion
|
||||
Everything_GetMinorVersion
|
||||
Everything_GetRevision
|
||||
Everything_GetBuildNumber
|
||||
Everything_Exit
|
||||
Everything_IsDBLoaded
|
||||
Everything_IsAdmin
|
||||
Everything_IsAppData
|
||||
Everything_RebuildDB
|
||||
Everything_UpdateAllFolderIndexes
|
||||
Everything_SaveDB
|
||||
Everything_SaveRunHistory
|
||||
Everything_DeleteRunHistory
|
||||
Everything_GetTargetMachine
|
||||
Everything_IsFastSort
|
||||
Everything_IsFileInfoIndexed
|
||||
Everything_GetRunCountFromFileNameW
|
||||
Everything_GetRunCountFromFileNameA
|
||||
Everything_SetRunCountFromFileNameW
|
||||
Everything_SetRunCountFromFileNameA
|
||||
Everything_IncRunCountFromFileNameW
|
||||
Everything_IncRunCountFromFileNameA
|
|
@ -0,0 +1,103 @@
|
|||
LIBRARY Everything64
|
||||
|
||||
EXPORTS
|
||||
|
||||
Everything_GetLastError
|
||||
|
||||
Everything_SetSearchA
|
||||
Everything_SetSearchW
|
||||
Everything_SetMatchPath
|
||||
Everything_SetMatchCase
|
||||
Everything_SetMatchWholeWord
|
||||
Everything_SetRegex
|
||||
Everything_SetMax
|
||||
Everything_SetOffset
|
||||
Everything_SetReplyID
|
||||
Everything_SetReplyWindow
|
||||
|
||||
Everything_GetSearchA
|
||||
Everything_GetSearchW
|
||||
Everything_GetMatchPath
|
||||
Everything_GetMatchCase
|
||||
Everything_GetMatchWholeWord
|
||||
Everything_GetRegex
|
||||
Everything_GetMax
|
||||
Everything_GetOffset
|
||||
Everything_GetReplyID
|
||||
Everything_GetReplyWindow
|
||||
|
||||
Everything_QueryA
|
||||
Everything_QueryW
|
||||
|
||||
Everything_IsQueryReply
|
||||
|
||||
Everything_SortResultsByPath
|
||||
|
||||
Everything_GetNumFileResults
|
||||
Everything_GetNumFolderResults
|
||||
Everything_GetNumResults
|
||||
Everything_GetTotFileResults
|
||||
Everything_GetTotFolderResults
|
||||
Everything_GetTotResults
|
||||
|
||||
Everything_IsVolumeResult
|
||||
Everything_IsFolderResult
|
||||
Everything_IsFileResult
|
||||
|
||||
Everything_GetResultFileNameA
|
||||
Everything_GetResultFileNameW
|
||||
Everything_GetResultPathA
|
||||
Everything_GetResultPathW
|
||||
Everything_GetResultFullPathNameA
|
||||
Everything_GetResultFullPathNameW
|
||||
|
||||
Everything_Reset
|
||||
Everything_CleanUp
|
||||
|
||||
Everything_SetSort
|
||||
Everything_SetRequestFlags
|
||||
Everything_GetSort
|
||||
Everything_GetRequestFlags
|
||||
Everything_GetResultListSort
|
||||
Everything_GetResultListRequestFlags
|
||||
Everything_GetResultExtensionW
|
||||
Everything_GetResultExtensionA
|
||||
Everything_GetResultSize
|
||||
Everything_GetResultDateCreated
|
||||
Everything_GetResultDateModified
|
||||
Everything_GetResultDateAccessed
|
||||
Everything_GetResultAttributes
|
||||
Everything_GetResultFileListFileNameW
|
||||
Everything_GetResultFileListFileNameA
|
||||
Everything_GetResultRunCount
|
||||
Everything_GetResultDateRun
|
||||
Everything_GetResultDateRecentlyChanged
|
||||
Everything_GetResultHighlightedFileNameW
|
||||
Everything_GetResultHighlightedFileNameA
|
||||
Everything_GetResultHighlightedPathW
|
||||
Everything_GetResultHighlightedPathA
|
||||
Everything_GetResultHighlightedFullPathAndFileNameW
|
||||
Everything_GetResultHighlightedFullPathAndFileNameA
|
||||
Everything_GetMajorVersion
|
||||
Everything_GetMinorVersion
|
||||
Everything_GetRevision
|
||||
Everything_GetBuildNumber
|
||||
Everything_Exit
|
||||
Everything_IsDBLoaded
|
||||
Everything_IsAdmin
|
||||
Everything_IsAppData
|
||||
Everything_RebuildDB
|
||||
Everything_UpdateAllFolderIndexes
|
||||
Everything_SaveDB
|
||||
Everything_SaveRunHistory
|
||||
Everything_DeleteRunHistory
|
||||
Everything_GetTargetMachine
|
||||
Everything_IsFastSort
|
||||
Everything_IsFileInfoIndexed
|
||||
Everything_GetRunCountFromFileNameW
|
||||
Everything_GetRunCountFromFileNameA
|
||||
Everything_SetRunCountFromFileNameW
|
||||
Everything_SetRunCountFromFileNameA
|
||||
Everything_IncRunCountFromFileNameW
|
||||
Everything_IncRunCountFromFileNameA
|
||||
|
|
@ -0,0 +1,793 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="sdk.dll.test.c"
|
||||
ProjectGUID="{52623C48-2EE8-4C84-AB20-AFD961BC1311}"
|
||||
RootNamespace="sdk.dll.test.c"
|
||||
Keyword="Win32Proj"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
<Platform
|
||||
Name="x64"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="Debug"
|
||||
IntermediateDirectory="Debug"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="BZ_NO_STDIO"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="..\lib\Everything32.lib"
|
||||
GenerateDebugInformation="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile="$(OutDir)\Everything.lib"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="Release"
|
||||
IntermediateDirectory="Release"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="BZ_NO_STDIO"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="1"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="lib\Everything32.lib"
|
||||
ShowProgress="0"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
ModuleDefinitionFile=""
|
||||
GenerateDebugInformation="false"
|
||||
GenerateMapFile="true"
|
||||
SubSystem="1"
|
||||
StackReserveSize="0"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="0"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
CompileAs="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
AdditionalDependencies="..\..\lib\Everything64.lib"
|
||||
ShowProgress="0"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
ModuleDefinitionFile=""
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="17"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release ALPHA|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="BZ_NO_STDIO"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="1"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
ModuleDefinitionFile="everything.def"
|
||||
GenerateDebugInformation="false"
|
||||
GenerateMapFile="true"
|
||||
SubSystem="2"
|
||||
StackReserveSize="0"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release ALPHA|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="0"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
AdditionalDependencies="comctl32.lib UxTheme.lib Ws2_32.lib HTMLHelp.lib msimg32.lib"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="17"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="release BETA|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="BZ_NO_STDIO"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="1"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
ModuleDefinitionFile="everything.def"
|
||||
GenerateDebugInformation="false"
|
||||
GenerateMapFile="true"
|
||||
SubSystem="2"
|
||||
StackReserveSize="0"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="release BETA|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="0"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
AdditionalDependencies="comctl32.lib UxTheme.lib Ws2_32.lib HTMLHelp.lib msimg32.lib"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="17"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="src"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\example\dll.test.c"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -0,0 +1,792 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="sdk.dll.test.cpp"
|
||||
ProjectGUID="{BAA4336B-5465-44D2-95A2-4A09385F784C}"
|
||||
RootNamespace="sdk.dll.test.cpp"
|
||||
Keyword="Win32Proj"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
<Platform
|
||||
Name="x64"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="Debug"
|
||||
IntermediateDirectory="Debug"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="BZ_NO_STDIO"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="lib\Everything32.lib"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile="$(OutDir)\Everything.lib"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="Release"
|
||||
IntermediateDirectory="Release"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="BZ_NO_STDIO"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="1"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="lib\Everything32.lib"
|
||||
ShowProgress="0"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
ModuleDefinitionFile=""
|
||||
GenerateDebugInformation="false"
|
||||
GenerateMapFile="true"
|
||||
SubSystem="1"
|
||||
StackReserveSize="0"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="0"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
CompileAs="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
AdditionalDependencies="..\..\lib\Everything64.lib"
|
||||
ShowProgress="0"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
ModuleDefinitionFile=""
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="17"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release ALPHA|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="BZ_NO_STDIO"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="1"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
ModuleDefinitionFile="everything.def"
|
||||
GenerateDebugInformation="false"
|
||||
GenerateMapFile="true"
|
||||
SubSystem="2"
|
||||
StackReserveSize="0"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release ALPHA|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="0"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
AdditionalDependencies="comctl32.lib UxTheme.lib Ws2_32.lib HTMLHelp.lib msimg32.lib"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="17"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="release BETA|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="BZ_NO_STDIO"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="1"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
ModuleDefinitionFile="everything.def"
|
||||
GenerateDebugInformation="false"
|
||||
GenerateMapFile="true"
|
||||
SubSystem="2"
|
||||
StackReserveSize="0"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="release BETA|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="0"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
AdditionalDependencies="comctl32.lib UxTheme.lib Ws2_32.lib HTMLHelp.lib msimg32.lib"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="17"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="src"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\example\dll.test.cpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -0,0 +1,760 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="sdk.dll"
|
||||
ProjectGUID="{BF806AC1-5839-4DAA-90F2-9D6F2B65C0FD}"
|
||||
RootNamespace="sdk.dll"
|
||||
Keyword="Win32Proj"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
<Platform
|
||||
Name="x64"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="Debug"
|
||||
IntermediateDirectory="Debug"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="BZ_NO_STDIO"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="4"
|
||||
CompileAs="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile="$(OutDir)\Everything.lib"
|
||||
ModuleDefinitionFile="..\src\Everything.def"
|
||||
IgnoreAllDefaultLibraries="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile="$(OutDir)\Everything.lib"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="Release"
|
||||
IntermediateDirectory="Release"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
StringPooling="true"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
CompileAs="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="$(OutDir)\Everything32.dll"
|
||||
ModuleDefinitionFile="D:\dev\everything\sdk\src\Everything.def"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
||||
StringPooling="true"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
CompileAs="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="$(OutDir)\Everything64.dll"
|
||||
ModuleDefinitionFile="D:\dev\everything\sdk\src\Everything.def"
|
||||
TargetMachine="17"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release ALPHA|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="BZ_NO_STDIO"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="1"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
CompileAs="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
ModuleDefinitionFile="everything.def"
|
||||
GenerateDebugInformation="false"
|
||||
GenerateMapFile="true"
|
||||
SubSystem="2"
|
||||
StackReserveSize="0"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release ALPHA|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="0"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
AdditionalDependencies="comctl32.lib UxTheme.lib Ws2_32.lib HTMLHelp.lib msimg32.lib"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="17"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="release BETA|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="BZ_NO_STDIO"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="1"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
CompileAs="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
ModuleDefinitionFile="everything.def"
|
||||
GenerateDebugInformation="false"
|
||||
GenerateMapFile="true"
|
||||
SubSystem="2"
|
||||
StackReserveSize="0"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="release BETA|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
UseOfMFC="0"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TargetEnvironment="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="false"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
||||
StringPooling="true"
|
||||
ExceptionHandling="0"
|
||||
BasicRuntimeChecks="0"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
FloatingPointModel="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
AdditionalDependencies="comctl32.lib UxTheme.lib Ws2_32.lib HTMLHelp.lib msimg32.lib"
|
||||
ShowProgress="0"
|
||||
OutputFile="$(OutDir)/Everything.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalManifestDependencies=""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
OptimizeForWindows98="1"
|
||||
LinkTimeCodeGeneration="0"
|
||||
TargetMachine="17"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
AdditionalManifestFiles=""
|
||||
SuppressStartupBanner="false"
|
||||
VerboseOutput="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="src"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\src\Everything.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\include\Everything.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
13
README.md
13
README.md
|
@ -5,15 +5,17 @@ AutoBackups is a Python application designed to automate the backup of Simatic S
|
|||
|
||||
## Features
|
||||
- Monitors specified directories for Simatic S7 files (*.s7p) and other user-defined directories.
|
||||
- Automatically compresses and backs up projects on a defined schedule (daily by default).
|
||||
- Automatically compresses and backs up projects on a configurable schedule (daily, hourly, 3-hour, 7-hour intervals, startup, or manual).
|
||||
- Supports manual backup triggers.
|
||||
- Skips projects with files in use and retries after one hour.
|
||||
- Maintains a hash of file timestamps to avoid unnecessary backups.
|
||||
- User-friendly web interface built with Flask and React for configuration and status monitoring.
|
||||
- Maintains a two-stage hash system: first checking *.s7p files, then all files to avoid unnecessary backups.
|
||||
- User-friendly web interface built with Flask for configuration and status monitoring.
|
||||
- Comprehensive logging system with timestamped log files.
|
||||
|
||||
## Project Structure
|
||||
```
|
||||
autobackups
|
||||
|
||||
├── .logs/ # Application logs with startup timestamps
|
||||
├── src
|
||||
│ ├── app.py # Main entry point of the Flask application
|
||||
│ ├── models
|
||||
|
@ -29,7 +31,8 @@ autobackups
|
|||
│ └── js # JavaScript files for client-side functionality
|
||||
├── templates
|
||||
│ └── index.html # Main HTML template for the web interface
|
||||
├── config.json # Configuration settings for the application
|
||||
├── config.json # Global configuration settings for the application
|
||||
├── projects.json # Per-project configuration, schedules, and hash storage
|
||||
├── requirements.txt # Python dependencies
|
||||
└── README.md # Project documentation
|
||||
```
|
||||
|
|
|
@ -0,0 +1,245 @@
|
|||
# AutoBackups - Especificación Técnica Detallada
|
||||
|
||||
## Resumen Ejecutivo
|
||||
AutoBackups es una aplicación Python que automatiza el backup de proyectos Simatic S7 y directorios definidos por el usuario, utilizando la API de Everything para búsqueda eficiente de archivos y un sistema de hash inteligente para evitar backups innecesarios.
|
||||
|
||||
## Arquitectura del Sistema
|
||||
|
||||
### 1. Componentes Principales
|
||||
|
||||
#### 1.1 Motor de Búsqueda (Everything API)
|
||||
- **Librería**: `python-everything` o integración directa con Everything SDK
|
||||
- **Función**: Localizar archivos *.s7p en directorios de observación
|
||||
- **Ventaja**: Aprovecha el índice existente de Everything para búsquedas instantáneas
|
||||
|
||||
#### 1.2 Sistema de Hash en Dos Etapas
|
||||
**Etapa 1**: Hash rápido de archivos *.s7p
|
||||
- Solo verifica timestamps de archivos .s7p
|
||||
- Si no hay cambios → no se procede con backup
|
||||
- Si hay cambios → procede a Etapa 2
|
||||
|
||||
**Etapa 2**: Hash completo del proyecto
|
||||
- Calcula hash de todos los archivos del directorio del proyecto
|
||||
- Compara con último hash almacenado
|
||||
- Solo hace backup si hay diferencias
|
||||
|
||||
#### 1.3 Scheduler Flexible
|
||||
- **daily**: Una vez al día a hora configurada
|
||||
- **hourly**: Cada hora
|
||||
- **3-hour**: Cada 3 horas
|
||||
- **7-hour**: Cada 7 horas
|
||||
- **startup**: Al iniciar la aplicación
|
||||
- **manual**: Solo bajo demanda del usuario
|
||||
|
||||
### 2. Estructura de Datos
|
||||
|
||||
#### 2.1 config.json (Configuración Global)
|
||||
```json
|
||||
{
|
||||
"observation_directories": [
|
||||
{
|
||||
"path": "C:\\Projects\\Siemens",
|
||||
"type": "siemens_s7",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"path": "D:\\Engineering\\Projects",
|
||||
"type": "siemens_s7",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"path": "C:\\Important\\Docs",
|
||||
"type": "manual",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"backup_destination": "D:\\Backups\\AutoBackups",
|
||||
"default_schedule": "daily",
|
||||
"default_schedule_time": "02:00",
|
||||
"retry_delay_hours": 1,
|
||||
"web_interface": {
|
||||
"host": "127.0.0.1",
|
||||
"port": 5000
|
||||
},
|
||||
"logging": {
|
||||
"level": "INFO",
|
||||
"max_log_files": 30
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### 2.2 projects.json (Estado de Proyectos)
|
||||
```json
|
||||
{
|
||||
"projects": [
|
||||
{
|
||||
"id": "project_001",
|
||||
"name": "PLC_MainLine",
|
||||
"path": "C:\\Projects\\Siemens\\PLC_MainLine",
|
||||
"type": "siemens_s7",
|
||||
"s7p_file": "C:\\Projects\\Siemens\\PLC_MainLine\\PLC_MainLine.s7p",
|
||||
"schedule": "daily",
|
||||
"schedule_time": "02:00",
|
||||
"enabled": true,
|
||||
"last_backup": "2025-09-01T02:15:30",
|
||||
"last_s7p_hash": "abc123def456",
|
||||
"last_full_hash": "def789ghi012",
|
||||
"last_s7p_timestamp": "2025-08-31T14:30:00",
|
||||
"status": "ready",
|
||||
"retry_count": 0,
|
||||
"next_retry": null,
|
||||
"error_message": null
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 3. Flujo de Operación
|
||||
|
||||
#### 3.1 Inicio de Aplicación
|
||||
1. Cargar configuración desde `config.json`
|
||||
2. Cargar estado de proyectos desde `projects.json`
|
||||
3. Inicializar logger con timestamp de inicio
|
||||
4. Escanear directorios de observación usando Everything API
|
||||
5. Actualizar lista de proyectos detectados
|
||||
6. Iniciar scheduler
|
||||
7. Iniciar interfaz web Flask
|
||||
|
||||
#### 3.2 Proceso de Backup
|
||||
1. **Verificación de Acceso**: Intentar abrir archivos en modo lectura
|
||||
2. **Hash Etapa 1**: Verificar timestamp del archivo .s7p
|
||||
3. **Hash Etapa 2**: Si Etapa 1 detecta cambios, verificar hash completo
|
||||
4. **Compresión**: Crear archivo ZIP con estructura de directorios preservada
|
||||
5. **Almacenamiento**: Guardar en `backup_destination/YYYY-MM-DD_HH-MM-SS/`
|
||||
6. **Actualización**: Actualizar hashes y timestamps en `projects.json`
|
||||
|
||||
#### 3.3 Gestión de Errores
|
||||
- **Archivos en uso**: Marcar proyecto para reintento en 1 hora
|
||||
- **Errores de permisos**: Log de error y notificación en interfaz
|
||||
- **Errores de espacio**: Verificar espacio disponible antes de backup
|
||||
|
||||
### 4. Interfaz Web
|
||||
|
||||
#### 4.1 Dashboard Principal
|
||||
- **Lista de Proyectos**: Tabla con estado, último backup, próximo backup
|
||||
- **Controles Globales**: Backup manual global, pausar/reanudar scheduler
|
||||
- **Estadísticas**: Total de proyectos, backups exitosos, errores
|
||||
|
||||
#### 4.2 Configuración de Proyectos
|
||||
- **Habilitación/Deshabilitación**: Toggle por proyecto
|
||||
- **Configuración de Schedule**: Dropdown con opciones de frecuencia
|
||||
- **Backup Manual**: Botón de backup inmediato por proyecto
|
||||
|
||||
#### 4.3 Logs y Monitoreo
|
||||
- **Log Viewer**: Mostrar logs recientes con filtros por nivel
|
||||
- **Estado del Sistema**: Información de Everything API, espacio en disco
|
||||
|
||||
### 5. Estructura de Backup
|
||||
|
||||
#### 5.1 Nomenclatura de Archivos
|
||||
```
|
||||
backup_destination/
|
||||
├── 2025-09-01_02-15-30/
|
||||
│ ├── Projects_Siemens_PLC_MainLine.zip
|
||||
│ └── Important_Docs_Documentation.zip
|
||||
└── 2025-09-02_02-15-45/
|
||||
└── Projects_Siemens_PLC_SecondaryLine.zip
|
||||
```
|
||||
|
||||
#### 5.2 Contenido del ZIP
|
||||
```
|
||||
PLC_MainLine.zip
|
||||
└── Projects/
|
||||
└── Siemens/
|
||||
└── PLC_MainLine/
|
||||
├── PLC_MainLine.s7p
|
||||
├── subfolder1/
|
||||
└── subfolder2/
|
||||
```
|
||||
|
||||
### 6. Tecnologías y Librerías
|
||||
|
||||
#### 6.1 Python Core
|
||||
- **Python**: 3.12
|
||||
- **Framework Web**: Flask
|
||||
- **Scheduler**: APScheduler
|
||||
- **Compresión**: zipfile (biblioteca estándar)
|
||||
|
||||
#### 6.2 Librerías Específicas
|
||||
- **Everything API**: `python-everything` o implementación custom
|
||||
- **Hashing**: hashlib (biblioteca estándar)
|
||||
- **Config**: json (biblioteca estándar)
|
||||
- **Logging**: logging (biblioteca estándar)
|
||||
- **File Access Check**: Implementación custom con try/except
|
||||
|
||||
#### 6.3 Frontend
|
||||
- **HTML/CSS/JavaScript**: Vanilla (sin React por simplicidad)
|
||||
- **AJAX**: Para comunicación con Flask API
|
||||
- **Bootstrap**: Para estilizado responsivo
|
||||
|
||||
### 7. Consideraciones de Seguridad
|
||||
|
||||
#### 7.1 Acceso a Archivos
|
||||
- Verificación de permisos antes de backup
|
||||
- Manejo seguro de rutas para evitar path traversal
|
||||
- Logs de todos los accesos a archivos
|
||||
|
||||
#### 7.2 Interfaz Web
|
||||
- Solo acceso local (127.0.0.1)
|
||||
- No autenticación requerida (uso local únicamente)
|
||||
- Validación de inputs en formularios
|
||||
|
||||
### 8. Logging y Monitoreo
|
||||
|
||||
#### 8.1 Estructura de Logs
|
||||
```
|
||||
.logs/
|
||||
├── autobackups_2025-09-01_08-30-15.log
|
||||
├── autobackups_2025-09-02_08-30-22.log
|
||||
└── ...
|
||||
```
|
||||
|
||||
#### 8.2 Niveles de Log
|
||||
- **INFO**: Inicio/fin de backups, descubrimiento de proyectos
|
||||
- **WARNING**: Archivos en uso, reintentos
|
||||
- **ERROR**: Fallos de backup, errores de configuración
|
||||
- **DEBUG**: Detalles de hashes, operaciones de archivos
|
||||
|
||||
### 9. Instalación y Despliegue
|
||||
|
||||
#### 9.1 Entorno Miniconda
|
||||
```bash
|
||||
conda create --name autobackups python=3.12
|
||||
conda activate autobackups
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
#### 9.2 Ejecución
|
||||
- **Desarrollo**: `python src/app.py`
|
||||
- **Producción**: `pythonw.exe src/app.py` (sin consola)
|
||||
- **Como servicio**: Futuro enhancement con `python-windows-service`
|
||||
|
||||
### 10. Roadmap de Desarrollo
|
||||
|
||||
#### Fase 1: Core Backend
|
||||
- [ ] Integración con Everything API
|
||||
- [ ] Sistema de hash en dos etapas
|
||||
- [ ] Motor de backup básico
|
||||
- [ ] Scheduler con APScheduler
|
||||
|
||||
#### Fase 2: Interfaz Web
|
||||
- [ ] Dashboard básico con Flask
|
||||
- [ ] API REST para operaciones CRUD
|
||||
- [ ] Frontend con HTML/JS/Bootstrap
|
||||
|
||||
#### Fase 3: Características Avanzadas
|
||||
- [ ] Logs web viewer
|
||||
- [ ] Configuración avanzada de directorios
|
||||
- [ ] Estadísticas y reportes
|
||||
|
||||
#### Fase 4: Optimizaciones
|
||||
- [ ] Ejecución como servicio Windows
|
||||
- [ ] Notificaciones por email
|
||||
- [ ] Backup incremental
|
||||
|
||||
Este documento será la base para el desarrollo del proyecto AutoBackups.
|
|
@ -0,0 +1,111 @@
|
|||
# AutoBackups - Decisiones Técnicas Finalizadas
|
||||
|
||||
## Decisiones Técnicas Confirmadas
|
||||
|
||||
### 1. Everything API - Integración ✅
|
||||
**Decisión**: Everything SDK está instalado bajo `Everything-SDK\dll\Everything64.dll`
|
||||
**Implementación**: Usar PyEverything (Wrapper) sin fallback
|
||||
**Ruta DLL**: `Everything-SDK\dll\Everything64.dll`
|
||||
|
||||
### 2. Estructura de Backup - Clarificación de Rutas ✅
|
||||
**Decisión**: Estructura específica con formato de fecha personalizado
|
||||
**Ejemplo**:
|
||||
- Directorio base: `C:\Projects\Siemens`
|
||||
- Proyecto: `C:\Projects\Siemens\LineA\Project1\project.s7p`
|
||||
- Backup: `backup_destination/LineA/Project1/2025-09-01/14-30-15_projects.zip`
|
||||
**Formato**: YYYY-MM-DD para fechas, HH-MM-SS formato 24 horas
|
||||
|
||||
### 3. Configuración de Schedules - Granularidad ✅
|
||||
**Decisión**: Ambos niveles (global con override por proyecto)
|
||||
**Implementación**:
|
||||
- Configuración global por defecto
|
||||
- Override individual por proyecto
|
||||
- Interfaz web para modificar ambos niveles
|
||||
|
||||
### 4. Hash de Archivos - Algoritmo y Almacenamiento ✅
|
||||
**Decisión**: Hash de timestamps + tamaño (NO contenido)
|
||||
**Algoritmo**: MD5 para velocidad
|
||||
**Incluye**: timestamp + tamaño de archivo
|
||||
**Prioridad**: Velocidad sobre seguridad criptográfica
|
||||
|
||||
### 5. Detección de Archivos en Uso - Método ✅
|
||||
**Decisión**: Detección por intento de compresión
|
||||
**Método Primario**: Intentar comprimir y detectar errores de exclusividad
|
||||
**Método Rápido**: Verificar archivo .s7p antes de comprimir proyecto completo
|
||||
**Manejo de Errores**: Marcar como problema de exclusividad si falla
|
||||
|
||||
### 6. Manejo de Proyectos Grandes - Performance ✅
|
||||
**Decisión**: Sin límites de tamaño, tiempo o archivos
|
||||
**Implementación**: Sin throttling, procesar cualquier tamaño de proyecto
|
||||
**Prioridad**: Baja prioridad de sistema para no interferir
|
||||
|
||||
### 7. Configuración de Directorios - Recursividad ✅
|
||||
**Decisión**: Búsqueda recursiva con optimización para .s7p
|
||||
**Implementación**:
|
||||
- Búsqueda recursiva en toda la jerarquía
|
||||
- Optimización: evitar último nivel para archivos .s7p
|
||||
- Razón: archivos .s7p no pueden estar en el último nivel del árbol
|
||||
|
||||
### 8. Backup Incremental vs Completo ✅
|
||||
**Decisión**: Siempre backup completo
|
||||
**Implementación**: Todo el proyecto cada vez
|
||||
**Razón**: Simplicidad y asegurar integridad completa
|
||||
|
||||
### 9. Web Interface - Características Específicas ✅
|
||||
**Must-have**:
|
||||
- Lista de proyectos con estado ✅
|
||||
- Trigger manual de backup ✅
|
||||
- Ver logs básicos ✅
|
||||
- Configurar schedules por proyecto ✅
|
||||
- **Modificar configuración general (config.json) ✅**
|
||||
|
||||
**Nice-to-have**:
|
||||
- Ver progreso de backup en tiempo real
|
||||
- Estadísticas históricas
|
||||
- Configurar nuevos directorios
|
||||
|
||||
### 10. Error Handling - Estrategias de Recuperación ✅
|
||||
**Espacio Insuficiente**:
|
||||
- Área de status en página web mostrando espacio libre
|
||||
- Límite mínimo: 100MB libres para ejecutar backups
|
||||
- Sin backups si espacio < 100MB
|
||||
|
||||
**Otros Errores**:
|
||||
- Marcar para reintento en 1 hora
|
||||
- Log de errores para diagnóstico
|
||||
|
||||
### 11. Startup Behavior - Inicialización ✅
|
||||
**Decisión**: Aplicación de background con timers específicos
|
||||
**Comportamiento**:
|
||||
- Escaneos programados: cada 1 hora
|
||||
- Backups mínimo: cada 10 minutos
|
||||
- Aplicación siempre en background
|
||||
- Baja prioridad de sistema
|
||||
|
||||
### 12. Multi-threading - Concurrencia ✅
|
||||
**Decisión**: Ejecución secuencial (uno por vez)
|
||||
**Implementación**:
|
||||
- Backups secuenciales para economizar recursos
|
||||
- Baja prioridad de sistema
|
||||
- Orientado a operación en background sin interferir
|
||||
|
||||
## Especificación Técnica Finalizada ✅
|
||||
|
||||
### Resumen de Decisiones Clave:
|
||||
1. **Everything SDK**: PyEverything wrapper con DLL local
|
||||
2. **Estructura de Backup**: `backup_destination/ProjectPath/YYYY-MM-DD/HH-MM-SS_projects.zip`
|
||||
3. **Hash**: MD5 de (timestamp + tamaño) para velocidad
|
||||
4. **Detección de Uso**: Por intento de compresión + verificación .s7p
|
||||
5. **Performance**: Sin límites, baja prioridad, secuencial
|
||||
6. **Búsqueda**: Recursiva evitando último nivel para .s7p
|
||||
7. **Backups**: Siempre completos
|
||||
8. **Interfaz**: Flask con configuración de config.json
|
||||
9. **Espacio**: Mínimo 100MB libres, status visible
|
||||
10. **Background**: Escaneos 1h, backups min 10min
|
||||
11. **Concurrencia**: Secuencial, baja prioridad
|
||||
|
||||
### Próximos Pasos:
|
||||
1. ✅ Finalizar diseño técnico basado en decisiones
|
||||
2. ⏳ Actualizar `requirements.txt` con PyEverything
|
||||
3. ⏳ Comenzar implementación por fases
|
||||
4. ⏳ Crear estructura básica del proyecto
|
|
@ -0,0 +1,258 @@
|
|||
# AutoBackups - Especificación Técnica Detallada
|
||||
|
||||
## Resumen Ejecutivo
|
||||
AutoBackups es una aplicación Python que automatiza el backup de proyectos Simatic S7 y directorios definidos por el usuario, utilizando la API de Everything para búsqueda eficiente de archivos y un sistema de hash inteligente para evitar backups innecesarios.
|
||||
|
||||
## Arquitectura del Sistema
|
||||
|
||||
### 1. Componentes Principales
|
||||
|
||||
#### 1.1 Motor de Búsqueda (Everything API)
|
||||
- **Librería**: PyEverything wrapper
|
||||
- **DLL Local**: `Everything-SDK\dll\Everything64.dll`
|
||||
- **Función**: Localizar archivos *.s7p en directorios de observación
|
||||
- **Optimización**: Evitar último nivel del árbol para archivos .s7p
|
||||
- **Ventaja**: Aprovecha el índice existente de Everything para búsquedas instantáneas
|
||||
|
||||
#### 1.2 Sistema de Hash en Dos Etapas
|
||||
**Etapa 1**: Hash rápido de archivos *.s7p
|
||||
- Solo verifica MD5 de (timestamp + tamaño) de archivos .s7p
|
||||
- Si no hay cambios → no se procede con backup
|
||||
- Si hay cambios → procede a Etapa 2
|
||||
|
||||
**Etapa 2**: Hash completo del proyecto
|
||||
- Calcula MD5 de (timestamp + tamaño) de todos los archivos del directorio
|
||||
- Compara con último hash almacenado
|
||||
- Solo hace backup si hay diferencias
|
||||
|
||||
#### 1.3 Scheduler de Background
|
||||
- **daily**: Una vez al día a hora configurada
|
||||
- **hourly**: Cada hora
|
||||
- **3-hour**: Cada 3 horas
|
||||
- **7-hour**: Cada 7 horas
|
||||
- **startup**: Al iniciar la aplicación
|
||||
- **manual**: Solo bajo demanda del usuario
|
||||
- **Escaneos**: Automáticos cada 1 hora
|
||||
- **Backups**: Mínimo cada 10 minutos
|
||||
- **Prioridad**: Baja prioridad de sistema
|
||||
|
||||
### 2. Estructura de Datos
|
||||
|
||||
#### 2.1 config.json (Configuración Global)
|
||||
```json
|
||||
{
|
||||
"observation_directories": [
|
||||
{
|
||||
"path": "C:\\Projects\\Siemens",
|
||||
"type": "siemens_s7",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"path": "D:\\Engineering\\Projects",
|
||||
"type": "siemens_s7",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"path": "C:\\Important\\Docs",
|
||||
"type": "manual",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"backup_destination": "D:\\Backups\\AutoBackups",
|
||||
"default_schedule": "daily",
|
||||
"default_schedule_time": "02:00",
|
||||
"retry_delay_hours": 1,
|
||||
"web_interface": {
|
||||
"host": "127.0.0.1",
|
||||
"port": 5000
|
||||
},
|
||||
"logging": {
|
||||
"level": "INFO",
|
||||
"max_log_files": 30
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### 2.2 projects.json (Estado de Proyectos)
|
||||
```json
|
||||
{
|
||||
"projects": [
|
||||
{
|
||||
"id": "project_001",
|
||||
"name": "PLC_MainLine",
|
||||
"path": "C:\\Projects\\Siemens\\PLC_MainLine",
|
||||
"type": "siemens_s7",
|
||||
"s7p_file": "C:\\Projects\\Siemens\\PLC_MainLine\\PLC_MainLine.s7p",
|
||||
"schedule": "daily",
|
||||
"schedule_time": "02:00",
|
||||
"enabled": true,
|
||||
"last_backup": "2025-09-01T02:15:30",
|
||||
"last_s7p_hash": "abc123def456",
|
||||
"last_full_hash": "def789ghi012",
|
||||
"last_s7p_timestamp": "2025-08-31T14:30:00",
|
||||
"status": "ready",
|
||||
"retry_count": 0,
|
||||
"next_retry": null,
|
||||
"error_message": null
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 3. Flujo de Operación
|
||||
|
||||
#### 3.1 Inicio de Aplicación
|
||||
1. Cargar configuración desde `config.json`
|
||||
2. Cargar estado de proyectos desde `projects.json`
|
||||
3. Inicializar logger con timestamp de inicio
|
||||
4. Escanear directorios de observación usando Everything API
|
||||
5. Actualizar lista de proyectos detectados
|
||||
6. Iniciar scheduler
|
||||
7. Iniciar interfaz web Flask
|
||||
|
||||
#### 4.2 Proceso de Backup
|
||||
1. **Verificación de Espacio**: Verificar mínimo 100MB libres
|
||||
2. **Verificación de Acceso .s7p**: Intentar comprimir solo archivo .s7p
|
||||
3. **Hash Etapa 1**: Verificar MD5 de (timestamp + tamaño) del archivo .s7p
|
||||
4. **Hash Etapa 2**: Si Etapa 1 detecta cambios, verificar hash completo
|
||||
5. **Compresión**: Crear archivo ZIP con estructura específica preservada
|
||||
6. **Almacenamiento**: Guardar en `backup_destination/ProjectPath/YYYY-MM-DD/HH-MM-SS_projects.zip`
|
||||
7. **Actualización**: Actualizar hashes y timestamps en `projects.json`
|
||||
|
||||
#### 3.3 Gestión de Errores
|
||||
- **Archivos en uso**: Marcar proyecto para reintento en 1 hora
|
||||
- **Errores de permisos**: Log de error y notificación en interfaz
|
||||
- **Errores de espacio**: Verificar espacio disponible antes de backup
|
||||
|
||||
### 4. Interfaz Web
|
||||
|
||||
#### 4.1 Dashboard Principal
|
||||
- **Lista de Proyectos**: Tabla con estado, último backup, próximo backup
|
||||
- **Controles Globales**: Backup manual global, pausar/reanudar scheduler
|
||||
- **Estadísticas**: Total de proyectos, backups exitosos, errores
|
||||
|
||||
#### 4.2 Configuración de Proyectos
|
||||
- **Habilitación/Deshabilitación**: Toggle por proyecto
|
||||
- **Configuración de Schedule**: Dropdown con opciones de frecuencia
|
||||
- **Backup Manual**: Botón de backup inmediato por proyecto
|
||||
|
||||
#### 4.3 Logs y Monitoreo
|
||||
- **Log Viewer**: Mostrar logs recientes con filtros por nivel
|
||||
- **Estado del Sistema**: Información de Everything API, espacio en disco
|
||||
|
||||
### 5. Estructura de Backup
|
||||
|
||||
#### 5.1 Nomenclatura de Archivos (Estructura Específica)
|
||||
```
|
||||
backup_destination/
|
||||
├── LineA/
|
||||
│ └── Project1/
|
||||
│ ├── 2025-09-01/
|
||||
│ │ ├── 02-15-30_projects.zip
|
||||
│ │ └── 14-30-15_projects.zip
|
||||
│ └── 2025-09-02/
|
||||
│ └── 02-15-45_projects.zip
|
||||
└── LineB/
|
||||
└── Project2/
|
||||
└── 2025-09-01/
|
||||
└── 08-20-10_projects.zip
|
||||
```
|
||||
|
||||
#### 5.2 Contenido del ZIP
|
||||
```
|
||||
02-15-30_projects.zip
|
||||
└── LineA/
|
||||
└── Project1/
|
||||
├── project.s7p
|
||||
├── subfolder1/
|
||||
└── subfolder2/
|
||||
```
|
||||
|
||||
### 6. Tecnologías y Librerías
|
||||
|
||||
#### 6.1 Python Core
|
||||
- **Python**: 3.12
|
||||
- **Framework Web**: Flask
|
||||
- **Scheduler**: APScheduler
|
||||
- **Compresión**: zipfile (biblioteca estándar)
|
||||
|
||||
#### 6.2 Librerías Específicas
|
||||
- **Everything API**: PyEverything wrapper con DLL local
|
||||
- **Hashing**: hashlib MD5 para (timestamp + tamaño)
|
||||
- **Config**: json (biblioteca estándar)
|
||||
- **Logging**: logging (biblioteca estándar)
|
||||
- **File Access Check**: Intento de compresión + verificación .s7p
|
||||
- **Process Priority**: pywin32 para baja prioridad
|
||||
- **Disk Space**: psutil para monitoreo de espacio libre
|
||||
|
||||
#### 6.3 Frontend
|
||||
- **HTML/CSS/JavaScript**: Vanilla (sin React por simplicidad)
|
||||
- **AJAX**: Para comunicación con Flask API
|
||||
- **Bootstrap**: Para estilizado responsivo
|
||||
|
||||
### 7. Consideraciones de Seguridad
|
||||
|
||||
#### 7.1 Acceso a Archivos
|
||||
- Verificación de permisos antes de backup
|
||||
- Manejo seguro de rutas para evitar path traversal
|
||||
- Logs de todos los accesos a archivos
|
||||
|
||||
#### 7.2 Interfaz Web
|
||||
- Solo acceso local (127.0.0.1)
|
||||
- No autenticación requerida (uso local únicamente)
|
||||
- Validación de inputs en formularios
|
||||
|
||||
### 8. Logging y Monitoreo
|
||||
|
||||
#### 8.1 Estructura de Logs
|
||||
```
|
||||
.logs/
|
||||
├── autobackups_2025-09-01_08-30-15.log
|
||||
├── autobackups_2025-09-02_08-30-22.log
|
||||
└── ...
|
||||
```
|
||||
|
||||
#### 8.2 Niveles de Log
|
||||
- **INFO**: Inicio/fin de backups, descubrimiento de proyectos
|
||||
- **WARNING**: Archivos en uso, reintentos
|
||||
- **ERROR**: Fallos de backup, errores de configuración
|
||||
- **DEBUG**: Detalles de hashes, operaciones de archivos
|
||||
|
||||
### 9. Instalación y Despliegue
|
||||
|
||||
#### 9.1 Entorno Miniconda
|
||||
```bash
|
||||
conda create --name autobackups python=3.12
|
||||
conda activate autobackups
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
#### 9.2 Ejecución
|
||||
- **Desarrollo**: `python src/app.py`
|
||||
- **Producción**: `pythonw.exe src/app.py` (sin consola)
|
||||
- **Como servicio**: Futuro enhancement con `python-windows-service`
|
||||
|
||||
### 10. Roadmap de Desarrollo
|
||||
|
||||
#### Fase 1: Core Backend
|
||||
- [ ] Integración con Everything API
|
||||
- [ ] Sistema de hash en dos etapas
|
||||
- [ ] Motor de backup básico
|
||||
- [ ] Scheduler con APScheduler
|
||||
|
||||
#### Fase 2: Interfaz Web
|
||||
- [ ] Dashboard básico con Flask
|
||||
- [ ] API REST para operaciones CRUD
|
||||
- [ ] Frontend con HTML/JS/Bootstrap
|
||||
|
||||
#### Fase 3: Características Avanzadas
|
||||
- [ ] Logs web viewer
|
||||
- [ ] Configuración avanzada de directorios
|
||||
- [ ] Estadísticas y reportes
|
||||
|
||||
#### Fase 4: Optimizaciones
|
||||
- [ ] Ejecución como servicio Windows
|
||||
- [ ] Notificaciones por email
|
||||
- [ ] Backup incremental
|
||||
|
||||
Este documento será la base para el desarrollo del proyecto AutoBackups.
|
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
"observation_directories": [
|
||||
{
|
||||
"path": "C:\\Projects\\Siemens",
|
||||
"type": "siemens_s7",
|
||||
"enabled": true,
|
||||
"description": "Directorio principal de proyectos Siemens"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Engineering\\Projects",
|
||||
"type": "siemens_s7",
|
||||
"enabled": true,
|
||||
"description": "Proyectos de ingeniería adicionales"
|
||||
},
|
||||
{
|
||||
"path": "C:\\Important\\Documentation",
|
||||
"type": "manual",
|
||||
"enabled": true,
|
||||
"description": "Documentación importante para backup manual"
|
||||
}
|
||||
],
|
||||
"backup_destination": "D:\\Backups\\AutoBackups",
|
||||
"global_settings": {
|
||||
"default_schedule": "daily",
|
||||
"default_schedule_time": "02:00",
|
||||
"retry_delay_hours": 1,
|
||||
"backup_timeout_minutes": 0,
|
||||
"min_free_space_mb": 100,
|
||||
"scan_interval_minutes": 60,
|
||||
"min_backup_interval_minutes": 10
|
||||
},
|
||||
"everything_api": {
|
||||
"dll_path": "Everything-SDK\\dll\\Everything64.dll",
|
||||
"enabled": true,
|
||||
"search_depth": -1,
|
||||
"skip_last_level_for_s7p": true
|
||||
},
|
||||
"web_interface": {
|
||||
"host": "127.0.0.1",
|
||||
"port": 5000,
|
||||
"debug": false
|
||||
},
|
||||
"logging": {
|
||||
"level": "INFO",
|
||||
"max_log_files": 30,
|
||||
"log_rotation_days": 30
|
||||
},
|
||||
"backup_options": {
|
||||
"compression_level": 6,
|
||||
"include_subdirectories": true,
|
||||
"preserve_directory_structure": true,
|
||||
"hash_algorithm": "md5",
|
||||
"hash_includes": ["timestamp", "size"],
|
||||
"backup_type": "complete",
|
||||
"process_priority": "low",
|
||||
"sequential_execution": true,
|
||||
"filename_format": "HH-MM-SS_projects.zip",
|
||||
"date_format": "YYYY-MM-DD"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,62 @@
|
|||
{
|
||||
"metadata": {
|
||||
"version": "1.0",
|
||||
"last_updated": "2025-09-01T08:30:15Z",
|
||||
"total_projects": 0
|
||||
},
|
||||
"projects": [
|
||||
{
|
||||
"id": "example_project_001",
|
||||
"name": "PLC_MainLine_Example",
|
||||
"path": "C:\\Projects\\Siemens\\LineA\\Project1",
|
||||
"type": "siemens_s7",
|
||||
"s7p_file": "C:\\Projects\\Siemens\\LineA\\Project1\\project.s7p",
|
||||
"observation_directory": "C:\\Projects\\Siemens",
|
||||
"relative_path": "LineA\\Project1",
|
||||
"backup_path": "LineA\\Project1",
|
||||
"schedule_config": {
|
||||
"schedule": "daily",
|
||||
"schedule_time": "02:00",
|
||||
"enabled": true,
|
||||
"next_scheduled_backup": "2025-09-02T02:00:00Z"
|
||||
},
|
||||
"backup_history": {
|
||||
"last_backup_date": "2025-09-01T02:15:30Z",
|
||||
"last_backup_file": "D:\\Backups\\AutoBackups\\LineA\\Project1\\2025-09-01\\02-15-30_projects.zip",
|
||||
"backup_count": 5,
|
||||
"last_successful_backup": "2025-09-01T02:15:30Z"
|
||||
},
|
||||
"hash_info": {
|
||||
"last_s7p_hash": "abc123def456789",
|
||||
"last_full_hash": "def789ghi012345",
|
||||
"last_s7p_timestamp": "2025-08-31T14:30:00Z",
|
||||
"last_s7p_size": 2048576,
|
||||
"last_scan_timestamp": "2025-09-01T02:10:00Z",
|
||||
"file_count": 1247,
|
||||
"total_size_bytes": 125847296
|
||||
},
|
||||
"status": {
|
||||
"current_status": "ready",
|
||||
"last_error": null,
|
||||
"retry_count": 0,
|
||||
"next_retry": null,
|
||||
"files_in_use": false,
|
||||
"exclusivity_check_passed": true,
|
||||
"last_status_update": "2025-09-01T02:15:35Z"
|
||||
},
|
||||
"discovery_info": {
|
||||
"discovered_date": "2025-09-01T08:30:15Z",
|
||||
"discovery_method": "everything_api",
|
||||
"auto_discovered": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"statistics": {
|
||||
"total_backups_created": 15,
|
||||
"total_backup_size_mb": 2450.5,
|
||||
"average_backup_time_seconds": 45.2,
|
||||
"last_global_scan": "2025-09-01T08:30:15Z",
|
||||
"projects_with_errors": 0,
|
||||
"projects_pending_retry": 0
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
# Core Framework
|
||||
Flask==2.3.3
|
||||
Werkzeug==2.3.7
|
||||
|
||||
# Scheduling
|
||||
APScheduler==3.10.4
|
||||
|
||||
# Everything API Integration
|
||||
PyEverything==1.0.1 # Wrapper para Everything SDK
|
||||
|
||||
# File Operations and Utilities
|
||||
pathlib2==2.3.7.post1 # Enhanced pathlib for Python 3.12
|
||||
psutil==5.9.5 # System utilities (disk space monitoring)
|
||||
filelock==3.12.4 # File locking for concurrent access
|
||||
|
||||
# Web Interface
|
||||
Jinja2==3.1.2 # Template engine for Flask
|
||||
|
||||
# Configuration and Data
|
||||
jsonschema==4.19.1 # JSON schema validation
|
||||
|
||||
# Logging
|
||||
colorlog==6.7.0 # Colored logging output
|
||||
|
||||
# Windows-specific dependencies
|
||||
pywin32==306; sys_platform == "win32" # Windows API access for low priority
|
||||
|
||||
# Development and Testing (opcional, remove for production)
|
||||
pytest==7.4.2
|
||||
pytest-flask==1.2.0
|
||||
black==23.9.1 # Code formatting
|
||||
flake8==6.1.0 # Code linting
|
58
config.json
58
config.json
|
@ -1,15 +1,51 @@
|
|||
{
|
||||
"directories_to_monitor": [
|
||||
"C:\\path\\to\\first\\directory",
|
||||
"C:\\path\\to\\second\\directory"
|
||||
"observation_directories": [
|
||||
{
|
||||
"path": "C:\\Projects\\Siemens",
|
||||
"type": "siemens_s7",
|
||||
"enabled": true,
|
||||
"description": "Directorio principal de proyectos Siemens"
|
||||
},
|
||||
{
|
||||
"path": "D:\\Engineering\\Projects",
|
||||
"type": "siemens_s7",
|
||||
"enabled": true,
|
||||
"description": "Proyectos de ingeniería adicionales"
|
||||
},
|
||||
{
|
||||
"path": "C:\\Important\\Documentation",
|
||||
"type": "manual",
|
||||
"enabled": true,
|
||||
"description": "Documentación importante para backup manual"
|
||||
}
|
||||
],
|
||||
"backup_destination": "C:\\path\\to\\backup\\destination",
|
||||
"default_backup_schedule": {
|
||||
"frequency": "daily",
|
||||
"time": "02:00"
|
||||
"backup_destination": "D:\\Backups\\AutoBackups",
|
||||
"global_settings": {
|
||||
"default_schedule": "daily",
|
||||
"default_schedule_time": "02:00",
|
||||
"retry_delay_hours": 1,
|
||||
"max_concurrent_backups": 2,
|
||||
"backup_timeout_minutes": 60
|
||||
},
|
||||
"manual_backup_directories": [],
|
||||
"hashing_enabled": true,
|
||||
"retry_interval": 3600,
|
||||
"max_concurrent_backups": 1
|
||||
"everything_api": {
|
||||
"enabled": true,
|
||||
"fallback_to_filesystem_search": true,
|
||||
"search_depth": -1
|
||||
},
|
||||
"web_interface": {
|
||||
"host": "127.0.0.1",
|
||||
"port": 5000,
|
||||
"debug": false
|
||||
},
|
||||
"logging": {
|
||||
"level": "INFO",
|
||||
"max_log_files": 30,
|
||||
"log_rotation_days": 30
|
||||
},
|
||||
"backup_options": {
|
||||
"compression_level": 6,
|
||||
"include_subdirectories": true,
|
||||
"preserve_directory_structure": true,
|
||||
"hash_algorithm": "md5"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"metadata": {
|
||||
"version": "1.0",
|
||||
"last_updated": "2025-09-01T08:30:15Z",
|
||||
"total_projects": 0
|
||||
},
|
||||
"projects": [
|
||||
{
|
||||
"id": "example_project_001",
|
||||
"name": "PLC_MainLine_Example",
|
||||
"path": "C:\\Projects\\Siemens\\PLC_MainLine",
|
||||
"type": "siemens_s7",
|
||||
"s7p_file": "C:\\Projects\\Siemens\\PLC_MainLine\\PLC_MainLine.s7p",
|
||||
"observation_directory": "C:\\Projects\\Siemens",
|
||||
"relative_path": "PLC_MainLine",
|
||||
"schedule_config": {
|
||||
"schedule": "daily",
|
||||
"schedule_time": "02:00",
|
||||
"enabled": true,
|
||||
"next_scheduled_backup": "2025-09-02T02:00:00Z"
|
||||
},
|
||||
"backup_history": {
|
||||
"last_backup_date": "2025-09-01T02:15:30Z",
|
||||
"last_backup_file": "D:\\Backups\\AutoBackups\\2025-09-01_02-15-30\\Projects_Siemens_PLC_MainLine.zip",
|
||||
"backup_count": 5,
|
||||
"last_successful_backup": "2025-09-01T02:15:30Z"
|
||||
},
|
||||
"hash_info": {
|
||||
"last_s7p_hash": "abc123def456789",
|
||||
"last_full_hash": "def789ghi012345",
|
||||
"last_s7p_timestamp": "2025-08-31T14:30:00Z",
|
||||
"last_scan_timestamp": "2025-09-01T02:10:00Z",
|
||||
"file_count": 1247
|
||||
},
|
||||
"status": {
|
||||
"current_status": "ready",
|
||||
"last_error": null,
|
||||
"retry_count": 0,
|
||||
"next_retry": null,
|
||||
"files_in_use": false,
|
||||
"last_status_update": "2025-09-01T02:15:35Z"
|
||||
},
|
||||
"discovery_info": {
|
||||
"discovered_date": "2025-09-01T08:30:15Z",
|
||||
"discovery_method": "everything_api",
|
||||
"auto_discovered": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"statistics": {
|
||||
"total_backups_created": 15,
|
||||
"total_backup_size_mb": 2450.5,
|
||||
"average_backup_time_seconds": 45.2,
|
||||
"last_global_scan": "2025-09-01T08:30:15Z",
|
||||
"projects_with_errors": 0,
|
||||
"projects_pending_retry": 0
|
||||
}
|
||||
}
|
|
@ -1,8 +1,32 @@
|
|||
Flask
|
||||
Flask-Cors
|
||||
Flask-RESTful
|
||||
requests
|
||||
watchdog
|
||||
pyzipper
|
||||
hashlib
|
||||
pyeverthing
|
||||
# Core Framework
|
||||
Flask==2.3.3
|
||||
Werkzeug==2.3.7
|
||||
|
||||
# Scheduling
|
||||
APScheduler==3.10.4
|
||||
|
||||
# Everything API Integration (si está disponible)
|
||||
# python-everything==1.0.1 # Descomenta si existe la librería
|
||||
|
||||
# File Operations and Utilities
|
||||
pathlib2==2.3.7.post1 # Enhanced pathlib for Python 3.12
|
||||
psutil==5.9.5 # System and process utilities
|
||||
filelock==3.12.4 # File locking for concurrent access
|
||||
|
||||
# Web Interface
|
||||
Jinja2==3.1.2 # Template engine for Flask
|
||||
|
||||
# Configuration and Data
|
||||
jsonschema==4.19.1 # JSON schema validation
|
||||
|
||||
# Logging
|
||||
colorlog==6.7.0 # Colored logging output
|
||||
|
||||
# Development and Testing (opcional, remove for production)
|
||||
pytest==7.4.2
|
||||
pytest-flask==1.2.0
|
||||
black==23.9.1 # Code formatting
|
||||
flake8==6.1.0 # Code linting
|
||||
|
||||
# Windows-specific dependencies
|
||||
pywin32==306; sys_platform == "win32" # Windows API access
|
||||
|
|
Loading…
Reference in New Issue