Questions tagged [wpd]

Windows Portable Devices (WPD) enables computers to communicate with attached media and storage devices.

Windows Portable Devices (WPD) enables computers to communicate with attached media and storage devices.

WPD provides a way for computers to communicate with music players, storage devices, mobile phones, cameras, and many other types of connected devices.

Applications that are built on WPD can explore a device, send and receive content, and even control the device, for example, take a picture or send a text message. The system is designed to be flexible so that many types of devices can be explored, and extensible so that driver developers can define custom properties and commands for custom devices.

Reference

101 questions
2
votes
1 answer

How do I generate custom MTP events from Android device (responder), and capture events in Windows (initiator)

What I need to do: Generate custom vendor extension events from the responder (Beaglebone Black running Android), and get the event notification in the initiator. What I am using: Initiator - C# .Net application on Windows 7 using a managed…
avian
  • 41
  • 6
2
votes
2 answers

How to transfer files from Android device to PC using USB and/or WPD

I am trying to connect an android device to a (Windows 7 64bit) PC via cable, and then to retrieve some files from android to pc programmatically. (Note: I need this for a specific device, Moverio BT-200, and I am having drivers issues with that;…
ocramot
  • 1,361
  • 28
  • 55
2
votes
1 answer

Retrieve mount point of WPD device

I've worked with WPD API for a while now, and I seem to run in to problem after problem. Once I fix one problem, something else pops up. But hey, that's life. I've been trying to determine if a WPD device is a storage device or a phone or…
Aid Vllasaliu
  • 85
  • 2
  • 11
2
votes
0 answers

c# example for simple WPD/PTP/MTP image aquisition

I want to build a super simple software which just downloads an image from a digital camera when it is taken (tethering). As far as I understand I can use Windows Portable Devices (WPD) with the picture/media transfer protocol (PTP/MTP) to aquire…
Sam
  • 28,421
  • 49
  • 167
  • 247
2
votes
0 answers

How to Get available space on windows phone Using Windows portable devices services apis?

How to findout available space in windows phone (mtp device) using windows portable devices api. I have implemented WPD api to transfer media files to and from windows phone. But now, i need to calculate available space on the device. I have gone…
Ahsan
  • 87
  • 1
  • 10
2
votes
1 answer

Get full name of a file on a Windows portable device

I am trying to write an application that transfers data from a specific folder on a Windows portable device (here it is a Samsung Galaxy Note 2) to my PC. I am able to successfully list all folders and files and I also can reach the specific folder…
Metalhead89
  • 1,740
  • 9
  • 30
  • 58
2
votes
1 answer

UMDF filter driver for MTP devices

I am trying to write a filter driver for MTP devices on Windows 7 for the purpose of logging file operations and block certain file operations. I found that the driver that handles MTP in windows is a UMDF driver named WpdMtpDr.dll and I wrote a…
oren671
  • 21
  • 2
  • 5
2
votes
1 answer

How to construct path for mtp devices (usable in folder browse dialog)?

I implemented file transfer from windows pc to an android device, which is connected with MTP to the computer. The copy implementation is ready (I used this example:…
kadrian
  • 23
  • 1
  • 4
1
vote
0 answers

Is there a way to set an exact match between a connected device via adb and via mtp?

Using adb I get the serial number of the connected devices adb devices -l. Using WPD, I get connected devices and view the properties of WPD_DEVICE_SERIAL_NUMBER. On some smartphones, the serial numbers received using adb and wpd do not match. As a…
Darina_ni
  • 11
  • 2
1
vote
1 answer

Where can I get PortableDevice.h or WPD defined constant GUIDs and such?

I'm digging into a project, dealing with Windows Portable Devices (WPD). Everything I am going through has WPD_[some name], WPD_[some other thing], etc. All the documentation pages I find refer to these constants. But under the hood, these…
DRapp
  • 47,638
  • 12
  • 72
  • 142
1
vote
2 answers

Devices supported by Windows Portable Devices (WPD)

I'd like to use digital cameras in my application (running on Windows, written in C++) and I came across two libraries that did that - WIA (Windows Image Acquisition) and WPD (Windows Portable Devices). WIA supports digital cameras only for versions…
NikolaS
  • 11
  • 3
1
vote
1 answer

WPD/MTP PortableDevices, Content is always empty (Windows, VisualStudio 2012, VB.NET)

Problem is tested with NuGet package PortableDevices and the solution from here: Accessing an MTP device in Visual Basic .NET I want to get a file list from a Samsung Android Tablet. I can connect, but GetContents() returns no files…
Cor
  • 389
  • 1
  • 2
  • 14
1
vote
1 answer

PortableDeviceManagerClass in C# not able to initialize

I have a c# library which provides some functionallity to upload data onto connected (android) devices. The dll itself gets exported via UnmangedExports to be used by an delphi application. Here is the function which gets called by the delphi…
Olli
  • 658
  • 5
  • 26
1
vote
1 answer

How to get parameters of an Picture Transfer Protocol event in Windows Portable Devices?

I'm trying to support a digital camera with WPD. I have working request/data/response communication (PTP types 1,2,3), but have problems with events (type 4). From the event I need a command code (ex. 0xc102) and up to three integer parameters. I…
Krzysztof Bociurko
  • 4,575
  • 2
  • 26
  • 44
1
vote
1 answer

Wpd scripting help

I need a small script, preferably powershell or js, to automaticly change some values on a camera, using to "Windows Portable Devices". please help me.
user683326
  • 39
  • 5