Updated project files

pull/363/head
David Hall 2022-12-29 13:54:33 -07:00
parent 59df2f4159
commit ca0854d510
9 changed files with 75 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1241,6 +1241,7 @@ Native Enum | Header | Managed Enum
[DIAGNOSTIC_REASON_VERSION](https://www.google.com/search?num=5&q=DIAGNOSTIC_REASON_VERSION+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.Kernel32.DIAGNOSTIC_REASON_VERSION](https://github.com/dahall/Vanara/search?l=C%23&q=DIAGNOSTIC_REASON_VERSION)
[DISK_ATTRIBUTE](https://www.google.com/search?num=5&q=DISK_ATTRIBUTE+site%3Alearn.microsoft.com) | winioctl.h | [Vanara.PInvoke.Kernel32.DISK_ATTRIBUTE](https://github.com/dahall/Vanara/search?l=C%23&q=DISK_ATTRIBUTE)
[DISK_CACHE_RETENTION_PRIORITY](https://www.google.com/search?num=5&q=DISK_CACHE_RETENTION_PRIORITY+site%3Alearn.microsoft.com) | winioctl.h | [Vanara.PInvoke.Kernel32.DISK_CACHE_RETENTION_PRIORITY](https://github.com/dahall/Vanara/search?l=C%23&q=DISK_CACHE_RETENTION_PRIORITY)
[DISK_CLUSTER_FLAG](https://www.google.com/search?num=5&q=DISK_CLUSTER_FLAG+site%3Alearn.microsoft.com) | Ntdddisk.h | [Vanara.PInvoke.Kernel32.DISK_CLUSTER_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=DISK_CLUSTER_FLAG)
[DRIVE_TYPE](https://www.google.com/search?num=5&q=DRIVE_TYPE+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.Kernel32.DRIVE_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=DRIVE_TYPE)
[DTR_CONTROL](https://www.google.com/search?num=5&q=DTR_CONTROL+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.Kernel32.DTR_CONTROL](https://github.com/dahall/Vanara/search?l=C%23&q=DTR_CONTROL)
[DUPLICATE_HANDLE_OPTIONS](https://www.google.com/search?num=5&q=DUPLICATE_HANDLE_OPTIONS+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.Kernel32.DUPLICATE_HANDLE_OPTIONS](https://github.com/dahall/Vanara/search?l=C%23&q=DUPLICATE_HANDLE_OPTIONS)
@ -1620,6 +1621,7 @@ Native Structure | Header | Managed Structure
[DEVICE_WRITE_AGGREGATION_DESCRIPTOR](https://www.google.com/search?num=5&q=DEVICE_WRITE_AGGREGATION_DESCRIPTOR+site%3Alearn.microsoft.com) | winioctl.h | [Vanara.PInvoke.Kernel32.DEVICE_WRITE_AGGREGATION_DESCRIPTOR](https://github.com/dahall/Vanara/search?l=C%23&q=DEVICE_WRITE_AGGREGATION_DESCRIPTOR)
[DEVICESPECIFIC](https://www.google.com/search?num=5&q=DEVICESPECIFIC+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.Kernel32.DEVICE_MEDIA_INFO.DEVICESPECIFIC](https://github.com/dahall/Vanara/search?l=C%23&q=DEVICESPECIFIC)
[DISK_CACHE_INFORMATION](https://www.google.com/search?num=5&q=DISK_CACHE_INFORMATION+site%3Alearn.microsoft.com) | winioctl.h | [Vanara.PInvoke.Kernel32.DISK_CACHE_INFORMATION](https://github.com/dahall/Vanara/search?l=C%23&q=DISK_CACHE_INFORMATION)
[DISK_CLUSTER_INFO](https://www.google.com/search?num=5&q=DISK_CLUSTER_INFO+site%3Alearn.microsoft.com) | Ntdddisk.h | [Vanara.PInvoke.Kernel32.DISK_CLUSTER_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=DISK_CLUSTER_INFO)
[DISK_DETECTION_INFO](https://www.google.com/search?num=5&q=DISK_DETECTION_INFO+site%3Alearn.microsoft.com) | winioctl.h | [Vanara.PInvoke.Kernel32.DISK_DETECTION_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=DISK_DETECTION_INFO)
[DISK_EX_INT13_INFO](https://www.google.com/search?num=5&q=DISK_EX_INT13_INFO+site%3Alearn.microsoft.com) | winioctl.h | [Vanara.PInvoke.Kernel32.DISK_EX_INT13_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=DISK_EX_INT13_INFO)
[DISK_EXTENT](https://www.google.com/search?num=5&q=DISK_EXTENT+site%3Alearn.microsoft.com) | winioctl.h | [Vanara.PInvoke.Kernel32.DISK_EXTENT](https://github.com/dahall/Vanara/search?l=C%23&q=DISK_EXTENT)

View File

@ -6,7 +6,16 @@
<AssemblyTitle>$(AssemblyName)</AssemblyTitle>
<PackageId>$(AssemblyName)</PackageId>
<PackageTags>pinvoke;vanara;net-extensions;interop;photoacq;photo acquisition;windows</PackageTags>
<PackageReleaseNotes />
<PackageReleaseNotes>Currently implements:
Classes
PhotoAcquire, PhotoAcquireDeviceSelectionDialog, PhotoAcquireOptionsDialog, PhotoAcquisition, PhotoProgressDialog
Enumerations
DEVICE_SELECTION_DEVICE_TYPE, DSF, ERROR_ADVISE_MESSAGE_TYPE, ERROR_ADVISE_RESULT, PAPS, PHOTOACQ, PROGRESS_DIALOG_CHECKBOX_ID, PROGRESS_DIALOG_IMAGE_TYPE, USER_INPUT_STRING_TYPE
</PackageReleaseNotes>
<PackageReadmeFile>pkgreadme.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Core\Vanara.Core.csproj" />

View File

@ -0,0 +1,21 @@
![Vanara](https://raw.githubusercontent.com/dahall/Vanara/master/docs/icons/VanaraHeading.png)
### **Vanara.PInvoke.PhotoAcquire NuGet Package**
[![Version](https://img.shields.io/nuget/v/Vanara.PInvoke.PhotoAcquire?label=NuGet&style=flat-square)](https://github.com/dahall/Vanara/releases)
[![Build status](https://img.shields.io/appveyor/build/dahall/vanara?label=AppVeyor%20build&style=flat-square)](https://ci.appveyor.com/project/dahall/vanara)
PInvoke API (methods, structures and constants) imported from Windows Photo Acquisition.
### **What is Vanara?**
[Vanara](https://github.com/dahall/Vanara) is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.
### **Issues?**
First check if it's already fixed by trying the [AppVeyor build](https://ci.appveyor.com/nuget/vanara-prerelease).
If you're still running into problems, file an [issue](https://github.com/dahall/Vanara/issues).
### **Included in Vanara.PInvoke.PhotoAcquire**
Classes | Enumerations | Interfaces
--- | --- | ---
PhotoAcquire PhotoAcquireDeviceSelectionDialog PhotoAcquireOptionsDialog PhotoAcquisition PhotoProgressDialog | DEVICE_SELECTION_DEVICE_TYPE DSF ERROR_ADVISE_MESSAGE_TYPE ERROR_ADVISE_RESULT PAPS PHOTOACQ PROGRESS_DIALOG_CHECKBOX_ID PROGRESS_DIALOG_IMAGE_TYPE USER_INPUT_STRING_TYPE | IPhotoAcquire IPhotoAcquireDeviceSelectionDialog IPhotoAcquireItem IPhotoAcquireOptionsDialog IPhotoAcquirePlugin IPhotoAcquireProgressCB IPhotoAcquireSettings IPhotoAcquireSource IPhotoProgressActionCB IPhotoProgressDialog IUserInputString

View File

@ -0,0 +1,36 @@
## Assembly report for Vanara.PInvoke.PhotoAcquire.dll
PInvoke API (methods, structures and constants) imported from Windows Photo Acquisition.
### Enumerations
Enum | Description | Values
---- | ---- | ----
[Vanara.PInvoke.PhotoAcquisition.DEVICE_SELECTION_DEVICE_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=DEVICE_SELECTION_DEVICE_TYPE) | The enumeration type indicates the type of a selected device. | DST_UNKNOWN_DEVICE, DST_WPD_DEVICE, DST_WIA_DEVICE, DST_STI_DEVICE, DSF_TWAIN_DEVICE, DST_FS_DEVICE, DST_DV_DEVICE
[Vanara.PInvoke.PhotoAcquisition.DSF](https://github.com/dahall/Vanara/search?l=C%23&q=DSF) | | DSF_WPD_DEVICES, DSF_WIA_CAMERAS, DSF_WIA_SCANNERS, DSF_STI_DEVICES, DSF_TWAIN_DEVICES, DSF_FS_DEVICES, DSF_DV_DEVICES, DSF_ALL_DEVICES, DSF_CPL_MODE, DSF_SHOW_OFFLINE
[Vanara.PInvoke.PhotoAcquisition.ERROR_ADVISE_MESSAGE_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=ERROR_ADVISE_MESSAGE_TYPE) | The enumeration type indicates the type of error values that can be passed to the <c>nMessageType</c> parameter of IPhotoAcquireProgressCB::ErrorAdvise. | PHOTOACQUIRE_ERROR_SKIPRETRYCANCEL, PHOTOACQUIRE_ERROR_RETRYCANCEL, PHOTOACQUIRE_ERROR_YESNO, PHOTOACQUIRE_ERROR_OK
[Vanara.PInvoke.PhotoAcquisition.ERROR_ADVISE_RESULT](https://github.com/dahall/Vanara/search?l=C%23&q=ERROR_ADVISE_RESULT) | The enumeration type indicates the type of error values that can be assigned to the <c>pnErrorAdviseResult</c> parameter of IPhotoAcquireProgressCB::ErrorAdvise. | PHOTOACQUIRE_RESULT_YES, PHOTOACQUIRE_RESULT_NO, PHOTOACQUIRE_RESULT_OK, PHOTOACQUIRE_RESULT_SKIP, PHOTOACQUIRE_RESULT_SKIP_ALL, PHOTOACQUIRE_RESULT_RETRY, PHOTOACQUIRE_RESULT_ABORT
[Vanara.PInvoke.PhotoAcquisition.PAPS](https://github.com/dahall/Vanara/search?l=C%23&q=PAPS) | Specifies a double word value indicating whether this method is being called before or after processing an item. | PAPS_PRESAVE, PAPS_POSTSAVE, PAPS_CLEANUP
[Vanara.PInvoke.PhotoAcquisition.PHOTOACQ](https://github.com/dahall/Vanara/search?l=C%23&q=PHOTOACQ) | Photo acquire flags. | PHOTOACQ_RUN_DEFAULT, PHOTOACQ_NO_GALLERY_LAUNCH, PHOTOACQ_DISABLE_AUTO_ROTATE, PHOTOACQ_DISABLE_PLUGINS, PHOTOACQ_DISABLE_GROUP_TAG_PROMPT, PHOTOACQ_DISABLE_DB_INTEGRATION, PHOTOACQ_DELETE_AFTER_ACQUIRE, PHOTOACQ_DISABLE_DUPLICATE_DETECTION, PHOTOACQ_ENABLE_THUMBNAIL_CACHING, PHOTOACQ_DISABLE_METADATA_WRITE, PHOTOACQ_DISABLE_THUMBNAIL_PROGRESS, PHOTOACQ_DISABLE_SETTINGS_LINK, PHOTOACQ_ABORT_ON_SETTINGS_UPDATE, PHOTOACQ_IMPORT_VIDEO_AS_MULTIPLE_FILES
[Vanara.PInvoke.PhotoAcquisition.PROGRESS_DIALOG_CHECKBOX_ID](https://github.com/dahall/Vanara/search?l=C%23&q=PROGRESS_DIALOG_CHECKBOX_ID) | The enumeration type indicates the check box on the IPhotoProgressDialog object. | PROGRESS_DIALOG_CHECKBOX_ID_DEFAULT
[Vanara.PInvoke.PhotoAcquisition.PROGRESS_DIALOG_IMAGE_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=PROGRESS_DIALOG_IMAGE_TYPE) | The enumeration type indicates the image type set in IPhotoProgressDialog::SetImage. | PROGRESS_DIALOG_ICON_SMALL, PROGRESS_DIALOG_ICON_LARGE, PROGRESS_DIALOG_ICON_THUMBNAIL, PROGRESS_DIALOG_BITMAP_THUMBNAIL
[Vanara.PInvoke.PhotoAcquisition.USER_INPUT_STRING_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=USER_INPUT_STRING_TYPE) | The enumeration type indicates the type of string to obtain from the user in IPhotoAcquireProgressCB::GetUserInput. | USER_INPUT_DEFAULT, USER_INPUT_PATH_ELEMENT
### Interfaces
Interface | Description
---- | ----
[Vanara.PInvoke.PhotoAcquisition.IPhotoAcquire](https://github.com/dahall/Vanara/search?l=C%23&q=IPhotoAcquire) | The interface provides methods for acquiring photos from a device.
[Vanara.PInvoke.PhotoAcquisition.IPhotoAcquireDeviceSelectionDialog](https://github.com/dahall/Vanara/search?l=C%23&q=IPhotoAcquireDeviceSelectionDialog) | Provides a dialog box for selecting the device to acquire images from.
[Vanara.PInvoke.PhotoAcquisition.IPhotoAcquireItem](https://github.com/dahall/Vanara/search?l=C%23&q=IPhotoAcquireItem) | The interface provides methods for working with items as they are acquired from a device.
[Vanara.PInvoke.PhotoAcquisition.IPhotoAcquireOptionsDialog](https://github.com/dahall/Vanara/search?l=C%23&q=IPhotoAcquireOptionsDialog) | The interface is used to display an options dialog box in which the user can select photo acquisition settings such as file name formats, as well as whether or not to rotate images, to prompt for a tag name, or to erase photos from the camera after importing.
[Vanara.PInvoke.PhotoAcquisition.IPhotoAcquirePlugin](https://github.com/dahall/Vanara/search?l=C%23&q=IPhotoAcquirePlugin) | Implement the interface when you want to create a plug-in to run alongside the Windows Vista user interface (UI) for image acquisition. Registry settings are required to enable the plug-in.
[Vanara.PInvoke.PhotoAcquisition.IPhotoAcquireProgressCB](https://github.com/dahall/Vanara/search?l=C%23&q=IPhotoAcquireProgressCB) | The interface may be implemented if you wish to do extra processing at various stages in the acquisition process.
[Vanara.PInvoke.PhotoAcquisition.IPhotoAcquireSettings](https://github.com/dahall/Vanara/search?l=C%23&q=IPhotoAcquireSettings) | The interface is used to work with image acquisition settings, such as file name format.
[Vanara.PInvoke.PhotoAcquisition.IPhotoAcquireSource](https://github.com/dahall/Vanara/search?l=C%23&q=IPhotoAcquireSource) | The interface is used for acquisition of items from a device.
[Vanara.PInvoke.PhotoAcquisition.IPhotoProgressActionCB](https://github.com/dahall/Vanara/search?l=C%23&q=IPhotoProgressActionCB) | Implement this interface to get process from an `Vanara.PInvoke.PhotoAcquisition.IPhotoProgressDialog`.
[Vanara.PInvoke.PhotoAcquisition.IPhotoProgressDialog](https://github.com/dahall/Vanara/search?l=C%23&q=IPhotoProgressDialog) | Provides the progress dialog box that may be displayed when enumerating or importing images. The dialog box is modal and runs in its own thread.
[Vanara.PInvoke.PhotoAcquisition.IUserInputString](https://github.com/dahall/Vanara/search?l=C%23&q=IUserInputString) | The <c>IUserInputString</c> interface represents the object created when asking the user for a string—for example, when obtaining the name of a tag.
### Classes
Class | Description
---- | ----
[Vanara.PInvoke.PhotoAcquisition.PhotoAcquire](https://github.com/dahall/Vanara/search?l=C%23&q=PhotoAcquire) | CLSID_PhotoAcquire
[Vanara.PInvoke.PhotoAcquisition.PhotoAcquireDeviceSelectionDialog](https://github.com/dahall/Vanara/search?l=C%23&q=PhotoAcquireDeviceSelectionDialog) | CLSID_PhotoAcquireDeviceSelectionDialog
[Vanara.PInvoke.PhotoAcquisition.PhotoAcquireOptionsDialog](https://github.com/dahall/Vanara/search?l=C%23&q=PhotoAcquireOptionsDialog) | CLSID_PhotoAcquireOptionsDialog
[Vanara.PInvoke.PhotoAcquisition](https://github.com/dahall/Vanara/search?l=C%23&q=PhotoAcquisition) | Enums and interfaces from the Windows Photo Acquisition API.
[Vanara.PInvoke.PhotoAcquisition.PhotoProgressDialog](https://github.com/dahall/Vanara/search?l=C%23&q=PhotoProgressDialog) | CLSID_PhotoProgressDialog

File diff suppressed because one or more lines are too long

View File

@ -603,6 +603,7 @@ Native Enum | Header | Managed Enum
[DeviceBroadcastEvent](https://www.google.com/search?num=5&q=DeviceBroadcastEvent+site%3Alearn.microsoft.com) | dbt.h | [Vanara.PInvoke.User32.DeviceBroadcastEvent](https://github.com/dahall/Vanara/search?l=C%23&q=DeviceBroadcastEvent)
[DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS](https://www.google.com/search?num=5&q=DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS+site%3Alearn.microsoft.com) | winuser.h | [Vanara.PInvoke.User32.DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS](https://github.com/dahall/Vanara/search?l=C%23&q=DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS)
[DIALOG_DPI_CHANGE_BEHAVIORS](https://www.google.com/search?num=5&q=DIALOG_DPI_CHANGE_BEHAVIORS+site%3Alearn.microsoft.com) | winuser.h | [Vanara.PInvoke.User32.DIALOG_DPI_CHANGE_BEHAVIORS](https://github.com/dahall/Vanara/search?l=C%23&q=DIALOG_DPI_CHANGE_BEHAVIORS)
[DialogBoxStyles](https://www.google.com/search?num=5&q=DialogBoxStyles+site%3Alearn.microsoft.com) | | [Vanara.PInvoke.User32.DialogBoxStyles](https://github.com/dahall/Vanara/search?l=C%23&q=DialogBoxStyles)
[DPI_AWARENESS](https://www.google.com/search?num=5&q=DPI_AWARENESS+site%3Alearn.microsoft.com) | windef.h | [Vanara.PInvoke.User32.DPI_AWARENESS](https://github.com/dahall/Vanara/search?l=C%23&q=DPI_AWARENESS)
[DPI_HOSTING_BEHAVIOR](https://www.google.com/search?num=5&q=DPI_HOSTING_BEHAVIOR+site%3Alearn.microsoft.com) | windef.h | [Vanara.PInvoke.User32.DPI_HOSTING_BEHAVIOR](https://github.com/dahall/Vanara/search?l=C%23&q=DPI_HOSTING_BEHAVIOR)
[DrawCaptionFlags](https://www.google.com/search?num=5&q=DrawCaptionFlags+site%3Alearn.microsoft.com) | winuser.h | [Vanara.PInvoke.User32.DrawCaptionFlags](https://github.com/dahall/Vanara/search?l=C%23&q=DrawCaptionFlags)
@ -672,6 +673,7 @@ Native Enum | Header | Managed Enum
[MNGOF](https://www.google.com/search?num=5&q=MNGOF+site%3Alearn.microsoft.com) | winuser.h | [Vanara.PInvoke.User32.MNGOF](https://github.com/dahall/Vanara/search?l=C%23&q=MNGOF)
[MonitorFlags](https://www.google.com/search?num=5&q=MonitorFlags+site%3Alearn.microsoft.com) | winuser.h | [Vanara.PInvoke.User32.MonitorFlags](https://github.com/dahall/Vanara/search?l=C%23&q=MonitorFlags)
[MonitorInfoFlags](https://www.google.com/search?num=5&q=MonitorInfoFlags+site%3Alearn.microsoft.com) | winuser.h | [Vanara.PInvoke.User32.MonitorInfoFlags](https://github.com/dahall/Vanara/search?l=C%23&q=MonitorInfoFlags)
[MouseActivateCode](https://www.google.com/search?num=5&q=MouseActivateCode+site%3Alearn.microsoft.com) | winuser.h | [Vanara.PInvoke.User32.MouseActivateCode](https://github.com/dahall/Vanara/search?l=C%23&q=MouseActivateCode)
[MOUSEEVENTF](https://www.google.com/search?num=5&q=MOUSEEVENTF+site%3Alearn.microsoft.com) | winuser.h | [Vanara.PInvoke.User32.MOUSEEVENTF](https://github.com/dahall/Vanara/search?l=C%23&q=MOUSEEVENTF)
[MouseState](https://www.google.com/search?num=5&q=MouseState+site%3Alearn.microsoft.com) | winuser.h | [Vanara.PInvoke.User32.MouseState](https://github.com/dahall/Vanara/search?l=C%23&q=MouseState)
[MouseWheelRouting](https://www.google.com/search?num=5&q=MouseWheelRouting+site%3Alearn.microsoft.com) | Winuser.h | [Vanara.PInvoke.User32.MouseWheelRouting](https://github.com/dahall/Vanara/search?l=C%23&q=MouseWheelRouting)

View File

@ -71,6 +71,7 @@
<dependency id="Vanara.PInvoke.P2P" version="3.4.12" />
<dependency id="Vanara.PInvoke.Pdh" version="3.4.12" />
<dependency id="Vanara.PInvoke.PeerDist" version="3.4.12" />
<dependency id="Vanara.PInvoke.PhotoAcquire" version="3.4.12" />
<dependency id="Vanara.PInvoke.PortableDeviceApi" version="3.4.12" />
<dependency id="Vanara.PInvoke.PowrProf" version="3.4.12" />
<dependency id="Vanara.PInvoke.Printing" version="3.4.12" />