diff options
| author | Barry Golden <[email protected]> | 2015-07-30 16:03:24 -0700 |
|---|---|---|
| committer | Barry Golden <[email protected]> | 2015-07-30 16:03:24 -0700 |
| commit | 4dc90ad04d5e40851e2e370f487b7cc9a3be071b (patch) | |
| tree | c2e74dd18a743893c555d311f29ad9fba77b60c6 /wpd | |
| parent | d3abcb10a801986a2956d6bbdfeb652bda1d9a74 (diff) | |
Update README.md
Diffstat (limited to 'wpd')
| -rw-r--r-- | wpd/WpdHelloWorldDriver/ReadMe.md | 144 | ||||
| -rw-r--r-- | wpd/WpdMultiTransportDriver/ReadMe.md | 4 | ||||
| -rw-r--r-- | wpd/WpdServiceSampleDriver/ReadMe.md | 2 | ||||
| -rw-r--r-- | wpd/WpdWudfSampleDriver/ReadMe.md | 2 |
4 files changed, 46 insertions, 106 deletions
diff --git a/wpd/WpdHelloWorldDriver/ReadMe.md b/wpd/WpdHelloWorldDriver/ReadMe.md index d21b2d69..0bf883bd 100644 --- a/wpd/WpdHelloWorldDriver/ReadMe.md +++ b/wpd/WpdHelloWorldDriver/ReadMe.md @@ -5,118 +5,58 @@ The WpdHelloWorld sample driver supports four objects: a device object, a storag The sample driver supports a device object that exposes ten read-only properties. These properties, their types, and their values are listed in the following table. -<table> -<colgroup> -<col width="33%" /> -<col width="33%" /> -<col width="33%" /> -</colgroup> -<tbody> -<tr class="odd"> -<td align="left">Property name -Property type -Value</td> -<td align="left">DEVICE_PROTOCOL -String -"Hello World Protocol ver 1.00"</td> -<td align="left">DEVICE_FIRMWARE_VERSION -String -"1.0.0.0"</td> -</tr> -</tbody> -</table> +Property name | Property type | Value +--------------|---------------|------ +DEVICE_PROTOCOL | String | "Hello World Protocol ver 1.00" +DEVICE_FIRMWARE_VERSION | String | "1.0.0.0" +DEVICE_POWER_LEVEL | Integer | 100 +DEVICE_MODEL | String | "Hello World!" +DEVICE_MANUFACTURER | String | "Windows Portable Devices Group" +DEVICE_FRIENDLY | String | "Hello World!" +DEVICE_SERIAL_NUMBER | String | "01234567890123-45676890123456" +DEVICE_SUPPORTS_NONCONSUMABLE | Bool | True +WPD_DEVICE_TYPE | Integer | WPD_DEVICE_TYPE_GENERIC +WPD_FUNCTIONAL_OBJECT_CATEGORY | GUID | WPD_FUNCTIONAL_CATEGORY_STORAGE -The driver supports a storage object that exposes six read-only properties. These properties, their types, and their values are listed in the following table. +The driver supports a storage object that exposes seven read-only properties. These properties, their types, and their values are listed in the following table. -<table> -<colgroup> -<col width="33%" /> -<col width="33%" /> -<col width="33%" /> -</colgroup> -<tbody> -<tr class="odd"> -<td align="left">Property name -Property type -Value</td> -<td align="left">STORAGE_CAPACITY -64-bit Integer -1024 * 1024</td> -<td align="left">STORAGE_FREE_SPACE_IN_BYTES -64-bit Integer -(same as above)</td> -</tr> -</tbody> -</table> +Property name | Property type | Value +--------------|---------------|------ +STORAGE_CAPACITY | 64-bit Integer | 1024 * 1024 +STORAGE_FREE_SPACE_IN_BYTES | 64-bit Integer | 1024 * 1024 +STORAGE_SERIAL_NUMBER | String | 98765432109876-54321098765432 +STORAGE_FILE_SYSTEM_TYPE | String | FAT32 +STORAGE_DESCRIPTION | String | Hello World! Memory Storage System +WPD_STORAGE_TYPE | Integer | WPD_STORAGE_TYPE_FIXED_ROM +WPD_FUNCTIONAL_OBJECT_CATEGORY | GUID | WPD_FUNCTIONAL_CATEGORY_STORAGE The driver supports a folder object that exposes three read-only properties. These properties, their types, and their values are listed in the following table. -<table> -<colgroup> -<col width="33%" /> -<col width="33%" /> -<col width="33%" /> -</colgroup> -<tbody> -<tr class="odd"> -<td align="left">Property name -Property type -Value</td> -<td align="left">WPD_OBJECT_DATE_MODIFIED -Date -2006/6/26 5:0:0.0</td> -<td align="left">WPD_OBJECT_DATE_CREATED -Date -2006/1/25 12:0:0.0</td> -</tr> -</tbody> -</table> +Property name | Property type | Value +--------------|---------------|------ +WPD_OBJECT_DATE_MODIFIED | Date | 2006/6/26 5:0:0.0 +WPD_OBJECT_DATE_CREATED | Date | 2006/1/25 12:0:0.0 +WPD_OBJECT_ORIGINAL_FILE_NAME_VALUE | String | Documents The driver supports a file object that exposes three read-only properties. These properties, their types, and their values are listed in the following table. -<table> -<colgroup> -<col width="33%" /> -<col width="33%" /> -<col width="33%" /> -</colgroup> -<tbody> -<tr class="odd"> -<td align="left">Property name -Property type -Value</td> -<td align="left">WPD_OBJECT_DATE_MODIFIED -Date -2006/6/26 5:0:0.0</td> -<td align="left">WPD_OBJECT_DATE_CREATED -Date -2006/1/25 12:0:0.0</td> -</tr> -</tbody> -</table> +Property name | Property type | Value +--------------|---------------|------ +WPD_OBJECT_DATE_MODIFIED | Date | 2006/6/26 5:0:0.0 +WPD_OBJECT_DATE_CREATED | Date | 2006/1/25 12:0:0.0 +WPD_OBJECT_ORIGINAL_FILE_NAME | String | Readme.txt In addition to the above properties, every object (for example, device, storage, folder, or file) also supports seven common WPD object properties. These are read-only properties that contain object-specific values for the most part. These properties, their types, and their values are listed in the following table. -<table> -<colgroup> -<col width="33%" /> -<col width="33%" /> -<col width="33%" /> -</colgroup> -<tbody> -<tr class="odd"> -<td align="left">Property name -Property type -Value</td> -<td align="left">WPD_OBJECT_ID -String -Object-specific</td> -<td align="left">WPD_OBJECT_PERSISTENT_UNIQUE_ID -String -Object-specific</td> -</tr> -</tbody> -</table> +Property name | Property type | Value +--------------|---------------|------ +WPD_OBJECT_ID | String | Object-specific +WPD_OBJECT_PERSISTENT_UNIQUE_ID | String | Object-specific +WPD_OBJECT_PARENT_ID | String | Object-specific +WPD_OBJECT_NAME | String | Object-specific +WPD_OBJECT_FORMAT | GUID | Object-specific +WPD_OBJECT_CONTENT_TYPE | GUID | Object-specific +WPD_OBJECT_CAN_DELETE | Bool | False For a complete description of this sample and its underlying code and functionality, refer to the [WPD HelloWorld Driver](http://msdn.microsoft.com/en-us/library/windows/hardware/) description in the Windows Driver Kit documentation. @@ -127,4 +67,4 @@ Related topics [WPD Driver Development Tools](http://msdn.microsoft.com/en-us/library/windows/hardware/ff597568) -[WPD Programming Guide](http://msdn.microsoft.com/en-us/library/windows/hardware/) +[WPD Programming Guide](https://msdn.microsoft.com/en-us/library/windows/hardware/ff597898) diff --git a/wpd/WpdMultiTransportDriver/ReadMe.md b/wpd/WpdMultiTransportDriver/ReadMe.md index 89700605..4e277f0a 100644 --- a/wpd/WpdMultiTransportDriver/ReadMe.md +++ b/wpd/WpdMultiTransportDriver/ReadMe.md @@ -3,7 +3,7 @@ WPD multi-transport sample driver The WpdMultiTransportDriver sample demonstrates how you could extend the WpdHelloWorldDriver for a device that supports multiple transports. A transport is a protocol over which a portable device communicates with a computer. Example transports include Internet Protocol (IP), Bluetooth, and USB. -A number of portable devices now support multiple transports. For example, a number of cell phones support both Bluetooth and USB. Before Windows 7, if a user connected a portable device that supported multiple transports to their computer, the Windows Device Manager displayed a unique node for each transport. This implied that multiple devices had been installed and left the user confused. To resolve this, Windows now supports a multitransport driver model. This model ensures that only one node appears for each device. +A number of portable devices now support multiple transports. For example, a number of cell phones support both Bluetooth and USB. Windows supports a multitransport driver model that ensures that only one node appears for each device. For a complete description of this sample and its underlying code and functionality, refer to the [WPD MultiTransport Driver](http://msdn.microsoft.com/en-us/library/windows/hardware/ff597709) description in the Windows Driver Kit documentation. @@ -14,4 +14,4 @@ Related topics [WPD Driver Development Tools](http://msdn.microsoft.com/en-us/library/windows/hardware/ff597568) -[WPD Programming Guide](http://msdn.microsoft.com/en-us/library/windows/hardware/) +[WPD Programming Guide](https://msdn.microsoft.com/en-us/library/windows/hardware/ff597898) diff --git a/wpd/WpdServiceSampleDriver/ReadMe.md b/wpd/WpdServiceSampleDriver/ReadMe.md index d9ed7246..24fcc336 100644 --- a/wpd/WpdServiceSampleDriver/ReadMe.md +++ b/wpd/WpdServiceSampleDriver/ReadMe.md @@ -17,4 +17,4 @@ Related topics [WPD Driver Development Tools](http://msdn.microsoft.com/en-us/library/windows/hardware/ff597568) -[WPD Programming Guide](http://msdn.microsoft.com/en-us/library/windows/hardware/) +[WPD Programming Guide](https://msdn.microsoft.com/en-us/library/windows/hardware/ff597898) diff --git a/wpd/WpdWudfSampleDriver/ReadMe.md b/wpd/WpdWudfSampleDriver/ReadMe.md index f47a712b..3d2f449b 100644 --- a/wpd/WpdWudfSampleDriver/ReadMe.md +++ b/wpd/WpdWudfSampleDriver/ReadMe.md @@ -17,4 +17,4 @@ Related topics [WPD Driver Development Tools](http://msdn.microsoft.com/en-us/library/windows/hardware/ff597568) -[WPD Programming Guide](http://msdn.microsoft.com/en-us/library/windows/hardware/) +[WPD Programming Guide](https://msdn.microsoft.com/en-us/library/windows/hardware/ff597898) |
