<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic error ERROR_INVALID_PARAMETER when using DeviceIoControL in Embedded Intel® Core™ Processors</title>
    <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/error-ERROR-INVALID-PARAMETER-when-using-DeviceIoControL/m-p/249338#M2339</link>
    <description>&lt;P&gt;I am working now to develop a driver to access GPIO of EG20T chipset&lt;/P&gt;I can open the device for,returning a positive value of openness: typedef struct tagGPIO_Device{HANDLE        hGPIODevice;   ioh_gpio_reqt    gpio_reqt;} GPIO_Device;  device-&amp;gt;hGPIODevice = CreateFileA(path,GENERIC_WRITE |GENERIC_READ,0,NULL,OPEN_EXISTING,0,NULL);  , but when I call the DeviceIoControl, as below:  mode = INPUT_SEL;     and           port is do it for a while to get the right.  BOOL  GPIO_config(GPIO_Device *device,DWORD port,DWORD mode){  DWORD dwSize;  BOOL status;       device-&amp;gt;gpio_reqt.port  = port;device-&amp;gt;gpio_reqt.pins  = 0xff; device-&amp;gt;gpio_reqt.mode  = mode; device-&amp;gt;gpio_reqt.enable = 1;   status = (DeviceIoControl(device-&amp;gt;hGPIODevice,IOCTL_GPIO_INT_ENABLE,&amp;amp;(device-&amp;gt;gpio_reqt),NULL,0,&amp;amp;dwSize, NULL));return status; } displays the following error: ERROR_INVALID_PARAMETER for GetLastError(). Thank you.</description>
    <pubDate>Wed, 18 Jan 2012 16:11:25 GMT</pubDate>
    <dc:creator>DVasc</dc:creator>
    <dc:date>2012-01-18T16:11:25Z</dc:date>
    <item>
      <title>error ERROR_INVALID_PARAMETER when using DeviceIoControL</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/error-ERROR-INVALID-PARAMETER-when-using-DeviceIoControL/m-p/249338#M2339</link>
      <description>&lt;P&gt;I am working now to develop a driver to access GPIO of EG20T chipset&lt;/P&gt;I can open the device for,returning a positive value of openness: typedef struct tagGPIO_Device{HANDLE        hGPIODevice;   ioh_gpio_reqt    gpio_reqt;} GPIO_Device;  device-&amp;gt;hGPIODevice = CreateFileA(path,GENERIC_WRITE |GENERIC_READ,0,NULL,OPEN_EXISTING,0,NULL);  , but when I call the DeviceIoControl, as below:  mode = INPUT_SEL;     and           port is do it for a while to get the right.  BOOL  GPIO_config(GPIO_Device *device,DWORD port,DWORD mode){  DWORD dwSize;  BOOL status;       device-&amp;gt;gpio_reqt.port  = port;device-&amp;gt;gpio_reqt.pins  = 0xff; device-&amp;gt;gpio_reqt.mode  = mode; device-&amp;gt;gpio_reqt.enable = 1;   status = (DeviceIoControl(device-&amp;gt;hGPIODevice,IOCTL_GPIO_INT_ENABLE,&amp;amp;(device-&amp;gt;gpio_reqt),NULL,0,&amp;amp;dwSize, NULL));return status; } displays the following error: ERROR_INVALID_PARAMETER for GetLastError(). Thank you.</description>
      <pubDate>Wed, 18 Jan 2012 16:11:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/error-ERROR-INVALID-PARAMETER-when-using-DeviceIoControL/m-p/249338#M2339</guid>
      <dc:creator>DVasc</dc:creator>
      <dc:date>2012-01-18T16:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: error ERROR_INVALID_PARAMETER when using DeviceIoControL</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/error-ERROR-INVALID-PARAMETER-when-using-DeviceIoControL/m-p/249339#M2340</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I   want to make you aware of a special place to go with questions like  yours.  The Intel® e-Help desk is staffed by Intel representatives who   support select Intel embedded platforms including Intel® Atom™ and  associated chipsets, including EG20T.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the link to post your question in e-Help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/community/en/intel_e-help_desk/low_power_platforms &lt;A href="http://embedded.communities.intel.com/community/en/intel_e-help_desk/low_power_platforms"&gt;http://embedded.communities.intel.com/community/en/intel_e-help_desk/low_power_platforms&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To access e-Help, you need to be a Privileged member of the Intel® Embedded Community.&lt;/P&gt;&lt;P&gt;If you are not already a Privileged member, you can request an upgrade to your community account here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://edc.intel.com/My-Account.aspx"&gt;https://edc.intel.com/My-Account.aspx&lt;/A&gt; &lt;A href="https://edc.intel.com/My-Account.aspx"&gt;https://edc.intel.com/My-Account.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In    addition to access to e-Help, Prvileged members may also access the   confidential content within the Intel® Embedded Design Center, such as   design documents, specifications, and training materials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felix&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J. Felix McNulty&lt;/P&gt;&lt;P&gt;Community Moderator (Intel contractor)&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2012 17:07:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/error-ERROR-INVALID-PARAMETER-when-using-DeviceIoControL/m-p/249339#M2340</guid>
      <dc:creator>FMcNu1</dc:creator>
      <dc:date>2012-01-18T17:07:56Z</dc:date>
    </item>
  </channel>
</rss>

