summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichelle Bergeron <[email protected]>2017-08-25 13:45:41 -0700
committerMichelle Bergeron <[email protected]>2017-08-25 13:45:41 -0700
commit806725d560858c2018611fc4e7693d56bb2d29d5 (patch)
tree68b954758f43d44ff296202ea1f7fcd2f807b4d4
parentf0fbfbdba856bb905a6466d47bd760cf8622ec0f (diff)
Remove gallery.xml
-rw-r--r--sensors/ADXL345Acc/Gallery.xml161
-rw-r--r--sensors/Activity/Gallery.xml160
-rw-r--r--sensors/CustomSensors/Gallery.xml168
-rw-r--r--sensors/Pedometer/Gallery.xml160
-rw-r--r--sensors/SimpleDeviceOrientationSensor/Gallery.xml160
5 files changed, 0 insertions, 809 deletions
diff --git a/sensors/ADXL345Acc/Gallery.xml b/sensors/ADXL345Acc/Gallery.xml
deleted file mode 100644
index 2d3eabf5..00000000
--- a/sensors/ADXL345Acc/Gallery.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="../../buildx/script2/preview.xslt"?>
-<gallery_sample xmlns="http://microsoft.com/wdcml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://microsoft.com/wdcml ../../buildx/schema/xsd/wdcml.xsd">
- <metadata id="gallery_samples.107a_gallery" type="gallery_sample" msdnID="7cba6311-f0db-4c3d-8f1f-25de8648b353">
- <title>ADXL345Accelerometer</title>
- <!-- Add a devlang for each programming language in all versions of the sample. -->
- <devlang value="cpp" />
- <!-- Do not change tech value -->
- <tech value="gallery_samples" />
- <index />
- <sample_langs>
- <!-- Describes the languages to which the sample code itself has been localized. -->
- <sample_lang xml:lang="en-us" />
- </sample_langs>
- </metadata>
- <content>
- <desc>
- <p><abstract>The ADXL345Accelerometer sample shows how to write a UMDF v2 driver to control an ADXL345 accelerometer chip.</abstract></p>
- </desc>
- <outline />
- <license_info>
- <default_license />
- </license_info>
- <programming_models>
- <programming_model value="win32" />
- </programming_models>
- <application_frameworks>
- </application_frameworks>
- <!-- For Driver Samples Only -->
- <driver_models>
- <!-- possible values: kmdf, umdf, wdm, ndis, wddm -->
- <driver_model value="UMDF" />
- </driver_models>
- <driver_techs>
- <driver_tech value="Windows Driver" />
- </driver_techs>
- <related_techs>
- </related_techs>
- <os_requirements>
- <min_os>
- <client name="winblue"/>
- <server name="wbluesrv"/>
- </min_os>
- </os_requirements>
- <required_sdks>
- <min_sdk>
- <tla rid="windows_driver_kit_8" />
- </min_sdk>
- </required_sdks>
- <supported_ides>
- <supported_ide>
- <tla rid="tla_visualstu2013" />
- </supported_ide>
- </supported_ides>
- <build_info>
- <authored_instructions>
- <section>
- <!-- Include any special instructions for compiling your sample -->
- <sectioncontents>
- </sectioncontents>
- </section>
- </authored_instructions>
- </build_info>
- <run_info>
- <authored_instructions>
- <section>
- <sectioncontents>
- <p>To install the sample driver, follow these steps:</p>
- <proch>
- <item>Ensure that the driver builds without errors.</item>
- <item>Ensure the appropriate hardware resources have been assigned in the ACPI table using ASL. A device node with HWID ACPI\ADXL345Acc should be created.</item>
- <item>Copy the DLL and INF files to a separate folder.</item>
- <item>Enter the command "<inline_code devlang="cmd">devcon.exe update ADXL345Acc.inf ACPI\ADXL345Acc</inline_code>" to install the driver on an existing device node. You can find the devcon.exe program in the tools\devcon folder where you installed the WDK.</item>
- </proch>
- </sectioncontents>
- </section>
- <section>
- <title>File manifest</title>
- <sectioncontents>
- <p>The following source files are in the src\Sensors\ADXL345Acc folder and are used to build the ADXL345Acc.dll and ADXL345Acc.inf files.</p>
- <table>
- <tr>
- <th>File</th>
- <th>Description</th>
- </tr>
- <tr>
- <td>
- <p>device.h, device.cpp</p>
- </td>
- <td>
- <p>Implements the driver's WDF PnP event callbacks and helper methods</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>client.cpp</p>
- </td>
- <td>
- <p>Implements the driver's callback functions from the class extension to the ADXL345 accelerometer.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>driver.h, driver.cpp</p>
- </td>
- <td>
- <p>WDF driver entry event callbacks and helper methods</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>ADXL345.h</p>
- </td>
- <td>
- <p>Device specific definitions.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>makefile.inc</p>
- </td>
- <td>
- <p>Defines custom build actions. Includes the conversion of the .INX file into a .INF file.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>SensorsTrace.h</p>
- </td>
- <td>
- <p>Implementation the sensor traces files.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>ADXL345Acc.ctl</p>
- </td>
- <td>
- <p>Declaration of driver's tracing GUID</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>ADXL345Acc.inx</p>
- </td>
- <td>
- <p>Describes the installation of the driver. The build process converts this into a .INF.</p>
- </td>
- </tr>
- </table>
- </sectioncontents>
- </section>
- </authored_instructions>
- </run_info>
- </content>
- <!-- List the component compcentral path -->
- <feature_teams>
- <feature_team_info comp_central_path="CORE-OS Core\SiGMa-Silicon, Graphics and Media\SiPlat - Silicon Platform\Sensors" dev_owner="osamasal" writer_owner="ericdoku" />
- </feature_teams>
- <workflow_control_host />
-</gallery_sample>
diff --git a/sensors/Activity/Gallery.xml b/sensors/Activity/Gallery.xml
deleted file mode 100644
index bb6e792a..00000000
--- a/sensors/Activity/Gallery.xml
+++ /dev/null
@@ -1,160 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="../../buildx/script2/preview.xslt"?>
-<gallery_sample xmlns="http://microsoft.com/wdcml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://microsoft.com/wdcml ../../buildx/schema/xsd/wdcml.xsd">
- <metadata id="gallery_samples.107a_gallery" type="gallery_sample" msdnID="7cba6311-f0db-4c3d-8f1f-25de8648b353">
- <title>Activity</title>
- <!-- Add a devlang for each programming language in all versions of the sample. -->
- <devlang value="cpp" />
- <!-- Do not change tech value -->
- <tech value="gallery_samples" />
- <index />
- <sample_langs>
- <!-- Describes the languages to which the sample code itself has been localized. -->
- <sample_lang xml:lang="en-us" />
- </sample_langs>
- </metadata>
- <content>
- <desc>
- <p><abstract>The activity sensor sample shows how to write a UMDF v2 driver to control a virtual activity sensor.</abstract></p>
- </desc>
- <outline />
- <license_info>
- <default_license />
- </license_info>
- <programming_models>
- <programming_model value="win32" />
- </programming_models>
- <application_frameworks>
- </application_frameworks>
- <!-- For Driver Samples Only -->
- <driver_models>
- <!-- possible values: kmdf, umdf, wdm, ndis, wddm -->
- <driver_model value="UMDF" />
- </driver_models>
- <driver_techs>
- <driver_tech value="Windows Driver" />
- </driver_techs>
- <related_techs>
- </related_techs>
- <os_requirements>
- <min_os>
- <client name="winblue"/>
- <server name="wbluesrv"/>
- </min_os>
- </os_requirements>
- <required_sdks>
- <min_sdk>
- <tla rid="windows_driver_kit_8" />
- </min_sdk>
- </required_sdks>
- <supported_ides>
- <supported_ide>
- <tla rid="tla_visualstu2012" />
- </supported_ide>
- </supported_ides>
- <build_info>
- <authored_instructions>
- <section>
- <!-- Include any special instructions for compiling your sample -->
- <sectioncontents>
- </sectioncontents>
- </section>
- </authored_instructions>
- </build_info>
- <run_info>
- <authored_instructions>
- <section>
- <sectioncontents>
- <p>To install the sample driver, follow these steps:</p>
- <proch>
- <item>Ensure that the driver builds without errors.</item>
- <item>Copy the DLL and INF files to a separate folder.</item>
- <item>Enter the command "<inline_code devlang="cmd">devcon.exe update Activity.inf ACPI\&lt;HWID&gt;</inline_code>" to install the driver on an existing device node. You can find the devcon.exe program in the tools\devcon folder where you installed the WDK.</item>
- </proch>
- </sectioncontents>
- </section>
- <section>
- <title>File manifest</title>
- <sectioncontents>
- <p>The following source files are in the src\Sensors\Activity folder and are used to build the Activity.dll and Activity.inf files.</p>
- <table>
- <tr>
- <th>File</th>
- <th>Description</th>
- </tr>
- <tr>
- <td>
- <p>device.h, device.cpp</p>
- </td>
- <td>
- <p>Implements the driver's WDF PnP event callbacks and helper methods</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>client.cpp</p>
- </td>
- <td>
- <p>Implements the driver's callback functions from the class extension to activity sensors.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>driver.h, driver.cpp</p>
- </td>
- <td>
- <p>WDF driver entry event callbacks and helper methods</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>hardwaresimulator.h, hardwaresimulator.cpp</p>
- </td>
- <td>
- <p>Hardware simulator implementation</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>makefile.inc</p>
- </td>
- <td>
- <p>Defines custom build actions. Includes the conversion of the .INX file into a .INF file.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>SensorsTrace.h</p>
- </td>
- <td>
- <p>Implementation the sensor traces files.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>Activity.ctl</p>
- </td>
- <td>
- <p>Declaration of driver's tracing GUID</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>Activity.inx</p>
- </td>
- <td>
- <p>Describes the installation of the driver. The build process converts this into a .INF.</p>
- </td>
- </tr>
- </table>
- </sectioncontents>
- </section>
- </authored_instructions>
- </run_info>
- </content>
- <!-- List the component compcentral path -->
- <feature_teams>
- <feature_team_info comp_central_path="CORE-OS Core\SiGMa-Silicon, Graphics and Media\SiPlat - Silicon Platform\Sensors" dev_owner="osamasal" writer_owner="ericdoku" />
- </feature_teams>
- <workflow_control_host />
-</gallery_sample>
diff --git a/sensors/CustomSensors/Gallery.xml b/sensors/CustomSensors/Gallery.xml
deleted file mode 100644
index 8f84093a..00000000
--- a/sensors/CustomSensors/Gallery.xml
+++ /dev/null
@@ -1,168 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="../../buildx/script2/preview.xslt"?>
-<gallery_sample xmlns="http://microsoft.com/wdcml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://microsoft.com/wdcml ../../buildx/schema/xsd/wdcml.xsd">
- <metadata id="gallery_samples.107a_gallery" type="gallery_sample" msdnID="7cba6311-f0db-4c3d-8f1f-25de8648b353">
- <title>CustomSensors</title>
- <!-- Add a devlang for each programming language in all versions of the sample. -->
- <devlang value="cpp" />
- <!-- Do not change tech value -->
- <tech value="gallery_samples" />
- <index />
- <sample_langs>
- <!-- Describes the languages to which the sample code itself has been localized. -->
- <sample_lang xml:lang="en-us" />
- </sample_langs>
- </metadata>
- <content>
- <desc>
- <p><abstract>The CustomSensors sample shows how to write a UMDF v2 driver to control a virtual CO2 sensor.</abstract></p>
- </desc>
- <outline />
- <license_info>
- <default_license />
- </license_info>
- <programming_models>
- <programming_model value="win32" />
- </programming_models>
- <application_frameworks>
- </application_frameworks>
- <!-- For Driver Samples Only -->
- <driver_models>
- <!-- possible values: kmdf, umdf, wdm, ndis, wddm -->
- <driver_model value="UMDF" />
- </driver_models>
- <driver_techs>
- <driver_tech value="Windows Driver" />
- </driver_techs>
- <related_techs>
- </related_techs>
- <os_requirements>
- <min_os>
- <client name="winblue"/>
- <server name="wbluesrv"/>
- </min_os>
- </os_requirements>
- <required_sdks>
- <min_sdk>
- <tla rid="windows_driver_kit_8" />
- </min_sdk>
- </required_sdks>
- <supported_ides>
- <supported_ide>
- <tla rid="tla_visualstu2012" />
- </supported_ide>
- </supported_ides>
- <build_info>
- <authored_instructions>
- <section>
- <!-- Include any special instructions for compiling your sample -->
- <sectioncontents>
- </sectioncontents>
- </section>
- </authored_instructions>
- </build_info>
- <run_info>
- <authored_instructions>
- <section>
- <sectioncontents>
- <p>To install the sample driver, follow these steps:</p>
- <proch>
- <item>Ensure that the driver builds without errors.</item>
- <item>Copy the DLL and INF files to a separate folder.</item>
- <item>Enter the command "<inline_code devlang="cmd">devcon.exe update CustomSensors.inf ACPI\&lt;HWID&gt;</inline_code>" to install the driver on an existing device node. You can find the devcon.exe program in the tools\devcon folder where you installed the WDK.</item>
- </proch>
- </sectioncontents>
- </section>
- <section>
- <title>File manifest</title>
- <sectioncontents>
- <p>The following source files are in the src\Sensors\CustomSensors folder and are used to build the CustomSensors.dll and CustomSensors.inf files.</p>
- <table>
- <tr>
- <th>File</th>
- <th>Description</th>
- </tr>
- <tr>
- <td>
- <p>device.h, device.cpp</p>
- </td>
- <td>
- <p>Implements the driver's WDF PnP event callbacks and helper methods</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>client.cpp</p>
- </td>
- <td>
- <p>Implements the driver's callback functions from the class extension to custom sensors.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>driver.h, driver.cpp</p>
- </td>
- <td>
- <p>WDF driver entry event callbacks and helper methods</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>hardwaresimulator.h, hardwaresimulator.cpp</p>
- </td>
- <td>
- <p>Hardware simulator implementation</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>makefile.inc</p>
- </td>
- <td>
- <p>Defines custom build actions. Includes the conversion of the .INX file into a .INF file.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>SensorsTrace.h</p>
- </td>
- <td>
- <p>Implementation the sensor traces files.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>CustomSensors.ctl</p>
- </td>
- <td>
- <p>Declaration of driver's tracing GUID</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>CustomSensor.inx</p>
- </td>
- <td>
- <p>Describes the installation of the driver. The build process converts this into a .INF.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>Trace.h</p>
- </td>
- <td>
- <p>Sets up WPP tracing.</p>
- </td>
- </tr>
- </table>
- </sectioncontents>
- </section>
- </authored_instructions>
- </run_info>
- </content>
- <!-- List the component compcentral path -->
- <feature_teams>
- <feature_team_info comp_central_path="CORE-OS Core\SiGMa-Silicon, Graphics and Media\SiPlat - Silicon Platform\Sensors" dev_owner="osamasal" writer_owner="ericdoku" />
- </feature_teams>
- <workflow_control_host />
-</gallery_sample>
diff --git a/sensors/Pedometer/Gallery.xml b/sensors/Pedometer/Gallery.xml
deleted file mode 100644
index ba572bcf..00000000
--- a/sensors/Pedometer/Gallery.xml
+++ /dev/null
@@ -1,160 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="../../buildx/script2/preview.xslt"?>
-<gallery_sample xmlns="http://microsoft.com/wdcml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://microsoft.com/wdcml ../../buildx/schema/xsd/wdcml.xsd">
- <metadata id="gallery_samples.107a_gallery" type="gallery_sample" msdnID="7cba6311-f0db-4c3d-8f1f-25de8648b353">
- <title>Pedometer</title>
- <!-- Add a devlang for each programming language in all versions of the sample. -->
- <devlang value="cpp" />
- <!-- Do not change tech value -->
- <tech value="gallery_samples" />
- <index />
- <sample_langs>
- <!-- Describes the languages to which the sample code itself has been localized. -->
- <sample_lang xml:lang="en-us" />
- </sample_langs>
- </metadata>
- <content>
- <desc>
- <p><abstract>The Pedometer sample shows how to write a UMDF v2 driver to control a virtual Pedometer sensor.</abstract></p>
- </desc>
- <outline />
- <license_info>
- <default_license />
- </license_info>
- <programming_models>
- <programming_model value="win32" />
- </programming_models>
- <application_frameworks>
- </application_frameworks>
- <!-- For Driver Samples Only -->
- <driver_models>
- <!-- possible values: kmdf, umdf, wdm, ndis, wddm -->
- <driver_model value="UMDF" />
- </driver_models>
- <driver_techs>
- <driver_tech value="Windows Driver" />
- </driver_techs>
- <related_techs>
- </related_techs>
- <os_requirements>
- <min_os>
- <client name="winblue"/>
- <server name="wbluesrv"/>
- </min_os>
- </os_requirements>
- <required_sdks>
- <min_sdk>
- <tla rid="windows_driver_kit_8" />
- </min_sdk>
- </required_sdks>
- <supported_ides>
- <supported_ide>
- <tla rid="tla_visualstu2012" />
- </supported_ide>
- </supported_ides>
- <build_info>
- <authored_instructions>
- <section>
- <!-- Include any special instructions for compiling your sample -->
- <sectioncontents>
- </sectioncontents>
- </section>
- </authored_instructions>
- </build_info>
- <run_info>
- <authored_instructions>
- <section>
- <sectioncontents>
- <p>To install the sample driver, follow these steps:</p>
- <proch>
- <item>Ensure that the driver builds without errors.</item>
- <item>Copy the DLL and INF files to a separate folder.</item>
- <item>Enter the command "<inline_code devlang="cmd">devcon.exe update Pedometer.inf ACPI\&lt;HWID&gt;</inline_code>" to install the driver on an existing device node. You can find the devcon.exe program in the tools\devcon folder where you installed the WDK.</item>
- </proch>
- </sectioncontents>
- </section>
- <section>
- <title>File manifest</title>
- <sectioncontents>
- <p>The following source files are in the src\Sensors\Pedometer folder and are used to build the Pedometer.dll and Pedometer.inf files.</p>
- <table>
- <tr>
- <th>File</th>
- <th>Description</th>
- </tr>
- <tr>
- <td>
- <p>device.h, device.cpp</p>
- </td>
- <td>
- <p>Implements the driver's WDF PnP event callbacks and helper methods</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>client.cpp</p>
- </td>
- <td>
- <p>Implements the driver's callback functions from the class extension to pedometer sensors.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>driver.h, driver.cpp</p>
- </td>
- <td>
- <p>WDF driver entry event callbacks and helper methods</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>hardwaresimulator.h, hardwaresimulator.cpp</p>
- </td>
- <td>
- <p>Hardware simulator implementation</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>makefile.inc</p>
- </td>
- <td>
- <p>Defines custom build actions. Includes the conversion of the .INX file into a .INF file.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>SensorsTrace.h</p>
- </td>
- <td>
- <p>Implementation the sensor traces files.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>Pedometer.ctl</p>
- </td>
- <td>
- <p>Declaration of driver's tracing GUID</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>Pedometer.inx</p>
- </td>
- <td>
- <p>Describes the installation of the driver. The build process converts this into a .INF.</p>
- </td>
- </tr>
- </table>
- </sectioncontents>
- </section>
- </authored_instructions>
- </run_info>
- </content>
- <!-- List the component compcentral path -->
- <feature_teams>
- <feature_team_info comp_central_path="CORE-OS Core\SiGMa-Silicon, Graphics and Media\SiPlat - Silicon Platform\Sensors" dev_owner="osamasal" writer_owner="ericdoku" />
- </feature_teams>
- <workflow_control_host />
-</gallery_sample>
diff --git a/sensors/SimpleDeviceOrientationSensor/Gallery.xml b/sensors/SimpleDeviceOrientationSensor/Gallery.xml
deleted file mode 100644
index 8fbb8b8c..00000000
--- a/sensors/SimpleDeviceOrientationSensor/Gallery.xml
+++ /dev/null
@@ -1,160 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="../../buildx/script2/preview.xslt"?>
-<gallery_sample xmlns="http://microsoft.com/wdcml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://microsoft.com/wdcml ../../buildx/schema/xsd/wdcml.xsd">
- <metadata id="gallery_samples.107a_gallery" type="gallery_sample" msdnID="7cba6311-f0db-4c3d-8f1f-25de8648b353">
- <title>SimpleDeviceOrientationSensor</title>
- <!-- Add a devlang for each programming language in all versions of the sample. -->
- <devlang value="cpp" />
- <!-- Do not change tech value -->
- <tech value="gallery_samples" />
- <index />
- <sample_langs>
- <!-- Describes the languages to which the sample code itself has been localized. -->
- <sample_lang xml:lang="en-us" />
- </sample_langs>
- </metadata>
- <content>
- <desc>
- <p><abstract>The SimpleDeviceOrientationSensor sample shows how to write a UMDF v2 sensor driver to output Simple Device Orientation values.</abstract></p>
- </desc>
- <outline />
- <license_info>
- <default_license />
- </license_info>
- <programming_models>
- <programming_model value="win32" />
- </programming_models>
- <application_frameworks>
- </application_frameworks>
- <!-- For Driver Samples Only -->
- <driver_models>
- <!-- possible values: kmdf, umdf, wdm, ndis, wddm -->
- <driver_model value="UMDF" />
- </driver_models>
- <driver_techs>
- <driver_tech value="Windows Driver" />
- </driver_techs>
- <related_techs>
- </related_techs>
- <os_requirements>
- <min_os>
- <client name="winblue"/>
- <server name="wbluesrv"/>
- </min_os>
- </os_requirements>
- <required_sdks>
- <min_sdk>
- <tla rid="windows_driver_kit_8" />
- </min_sdk>
- </required_sdks>
- <supported_ides>
- <supported_ide>
- <tla rid="tla_visualstu2012" />
- </supported_ide>
- </supported_ides>
- <build_info>
- <authored_instructions>
- <section>
- <!-- Include any special instructions for compiling your sample -->
- <sectioncontents>
- </sectioncontents>
- </section>
- </authored_instructions>
- </build_info>
- <run_info>
- <authored_instructions>
- <section>
- <sectioncontents>
- <p>To install the sample driver, follow these steps:</p>
- <proch>
- <item>Ensure that the driver builds without errors.</item>
- <item>Copy the DLL and INF files to a separate folder.</item>
- <item>Enter the command "<inline_code devlang="cmd">devcon.exe update SimpleDeviceOrientationSensor.inf ACPI\&lt;HWID&gt;</inline_code>" to install the driver on an existing device node. You can find the devcon.exe program in the tools\devcon folder where you installed the WDK.</item>
- </proch>
- </sectioncontents>
- </section>
- <section>
- <title>File manifest</title>
- <sectioncontents>
- <p>The following source files are in the src\Sensors\SimpleDeviceOrientationSensor folder and are used to build the SimpleDeviceOrientationSensor.dll and SimpleDeviceOrientationSensor.inf files.</p>
- <table>
- <tr>
- <th>File</th>
- <th>Description</th>
- </tr>
- <tr>
- <td>
- <p>device.h, device.cpp</p>
- </td>
- <td>
- <p>Implements the driver's WDF PnP event callbacks and helper methods</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>client.cpp</p>
- </td>
- <td>
- <p>Implements the driver's callback functions from the class extension to simple device orientation sensors.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>driver.h, driver.cpp</p>
- </td>
- <td>
- <p>WDF driver entry event callbacks and helper methods</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>hardwaresimulator.h, hardwaresimulator.cpp</p>
- </td>
- <td>
- <p>Hardware simulator implementation</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>makefile.inc</p>
- </td>
- <td>
- <p>Defines custom build actions. Includes the conversion of the .INX file into a .INF file.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>SensorsTrace.h</p>
- </td>
- <td>
- <p>Implementation the sensor traces files.</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>SimpleDeviceOrientationSensor.ctl</p>
- </td>
- <td>
- <p>Declaration of driver's tracing GUID</p>
- </td>
- </tr>
- <tr>
- <td>
- <p>SimpleDeviceOrientationSensor.inx</p>
- </td>
- <td>
- <p>Describes the installation of the driver. The build process converts this into a .INF.</p>
- </td>
- </tr>
- </table>
- </sectioncontents>
- </section>
- </authored_instructions>
- </run_info>
- </content>
- <!-- List the component compcentral path -->
- <feature_teams>
- <feature_team_info comp_central_path="CORE-OS Core\SiGMa-Silicon, Graphics and Media\SiPlat - Silicon Platform\Sensors" dev_owner="osamasal" writer_owner="ericdoku" />
- </feature_teams>
- <workflow_control_host />
-</gallery_sample>