diff --git a/pk2cmd/DeviceData.cpp b/pk2cmd/DeviceData.cpp index db0805a..a4c322e 100644 --- a/pk2cmd/DeviceData.cpp +++ b/pk2cmd/DeviceData.cpp @@ -7,7 +7,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/DeviceFile.cpp b/pk2cmd/DeviceFile.cpp index dbe650c..019b37b 100644 --- a/pk2cmd/DeviceFile.cpp +++ b/pk2cmd/DeviceFile.cpp @@ -7,7 +7,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/ImportExportHex.cpp b/pk2cmd/ImportExportHex.cpp index 2a5f894..4b503a1 100644 --- a/pk2cmd/ImportExportHex.cpp +++ b/pk2cmd/ImportExportHex.cpp @@ -7,7 +7,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/P24F_PE.cpp b/pk2cmd/P24F_PE.cpp index 5ffc208..7adc5d5 100644 --- a/pk2cmd/P24F_PE.cpp +++ b/pk2cmd/P24F_PE.cpp @@ -7,7 +7,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/PIC32PE.cpp b/pk2cmd/PIC32PE.cpp index 34a1cc5..638ea30 100644 --- a/pk2cmd/PIC32PE.cpp +++ b/pk2cmd/PIC32PE.cpp @@ -7,7 +7,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/PICkitFunctions.cpp b/pk2cmd/PICkitFunctions.cpp index e567fcc..b892ada 100644 --- a/pk2cmd/PICkitFunctions.cpp +++ b/pk2cmd/PICkitFunctions.cpp @@ -7,7 +7,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/Pk2BootLoader.cpp b/pk2cmd/Pk2BootLoader.cpp index 06d2351..62ae925 100644 --- a/pk2cmd/Pk2BootLoader.cpp +++ b/pk2cmd/Pk2BootLoader.cpp @@ -7,7 +7,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/cmd_app.cpp b/pk2cmd/cmd_app.cpp index 293ff48..0a2bc44 100644 --- a/pk2cmd/cmd_app.cpp +++ b/pk2cmd/cmd_app.cpp @@ -8,7 +8,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/dsP33_PE.cpp b/pk2cmd/dsP33_PE.cpp index 7849ae4..b2bb0a1 100644 --- a/pk2cmd/dsP33_PE.cpp +++ b/pk2cmd/dsP33_PE.cpp @@ -7,7 +7,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/hidpi.h b/pk2cmd/hidpi.h index 66cd77d..149efd9 100644 --- a/pk2cmd/hidpi.h +++ b/pk2cmd/hidpi.h @@ -308,8 +308,8 @@ Routine Description: Capabilities a HIDP_CAPS structure Return Value: -· HIDP_STATUS_SUCCESS -· HIDP_STATUS_INVALID_PREPARSED_DATA +· HIDP_STATUS_SUCCESS +· HIDP_STATUS_INVALID_PREPARSED_DATA --*/ NTSTATUS __stdcall @@ -401,11 +401,11 @@ HidP_GetSpecificButtonCaps ( Return Value HidP_GetSpecificButtonCaps returns the following error codes: -· HIDP_STATUS_SUCCESS. -· HIDP_STATUS_INVALID_REPORT_TYPE -· HIDP_STATUS_INVALID_PREPARSED_DATA -· HIDP_STATUS_BUFFER_TOO_SMALL (all given entries however have been filled in) -· HIDP_STATUS_USAGE_NOT_FOUND +· HIDP_STATUS_SUCCESS. +· HIDP_STATUS_INVALID_REPORT_TYPE +· HIDP_STATUS_INVALID_PREPARSED_DATA +· HIDP_STATUS_BUFFER_TOO_SMALL (all given entries however have been filled in) +· HIDP_STATUS_USAGE_NOT_FOUND --*/ NTSTATUS __stdcall @@ -472,11 +472,11 @@ HidP_GetSpecificValueCaps ( Return Value HidP_GetValueCaps returns the following error codes: -· HIDP_STATUS_SUCCESS. -· HIDP_STATUS_INVALID_REPORT_TYPE -· HIDP_STATUS_INVALID_PREPARSED_DATA -· HIDP_STATUS_BUFFER_TOO_SMALL (all given entries however have been filled in) -· HIDP_STATUS_USAGE_NOT_FOUND +· HIDP_STATUS_SUCCESS. +· HIDP_STATUS_INVALID_REPORT_TYPE +· HIDP_STATUS_INVALID_PREPARSED_DATA +· HIDP_STATUS_BUFFER_TOO_SMALL (all given entries however have been filled in) +· HIDP_STATUS_USAGE_NOT_FOUND --*/ @@ -539,12 +539,12 @@ Routine Description: Return Value -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device +· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device for the given ReportType --*/ @@ -592,30 +592,30 @@ Return Value have all the data set up until the HIDP_DATA structure that caused the error. DataLength, in the error case, will return this problem index. -· HIDP_STATUS_SUCCESS -- upon successful insertion of all data +· HIDP_STATUS_SUCCESS -- upon successful insertion of all data into the report packet. -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_DATA_INDEX_NOT_FOUND -- if a HIDP_DATA structure referenced a +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_DATA_INDEX_NOT_FOUND -- if a HIDP_DATA structure referenced a data index that does not exist for this device's ReportType -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device +· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device for the given ReportType -· HIDP_STATUS_IS_USAGE_VALUE_ARRAY -- if one of the HIDP_DATA structures +· HIDP_STATUS_IS_USAGE_VALUE_ARRAY -- if one of the HIDP_DATA structures references a usage value array. DataLength will contain the index into the array that was invalid -· HIDP_STATUS_BUTTON_NOT_PRESSED -- if a HIDP_DATA structure attempted +· HIDP_STATUS_BUTTON_NOT_PRESSED -- if a HIDP_DATA structure attempted to unset a button that was not already set in the Report -· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- a HIDP_DATA structure was found with +· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- a HIDP_DATA structure was found with a valid index value but is contained in a different report than the one currently being processed -· HIDP_STATUS_BUFFER_TOO_SMALL -- if there are not enough entries in +· HIDP_STATUS_BUFFER_TOO_SMALL -- if there are not enough entries in a given Main Array Item to report all buttons that have been requested to be set @@ -659,16 +659,16 @@ Routine Description: Return Value HidP_GetData returns the following error codes. -· HIDP_STATUS_SUCCESS -- upon successful retrieval of all data +· HIDP_STATUS_SUCCESS -- upon successful retrieval of all data from the report packet. -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device +· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device for the given ReportType -· HIDP_STATUS_BUFFER_TOO_SMALL -- if there are not enough array entries in +· HIDP_STATUS_BUFFER_TOO_SMALL -- if there are not enough array entries in DataList to store all the indice values in the given report. DataLength will contain the number of array entries @@ -720,7 +720,7 @@ Routine Description: This function sets binary values (buttons) in a report. Given an initialized packet of correct length, it modifies the report packet so that each element in the given list of usages has been set in the report packet. - For example, in an output report with 5 LED’s, each with a given usage, + For example, in an output report with 5 LEDÂ’s, each with a given usage, an application could turn on any subset of these lights by placing their usages in any order into the usage array (UsageList). HidP_SetUsages would, in turn, set the appropriate bit or add the corresponding byte into the @@ -766,27 +766,27 @@ Return Value HidP_SetUsages returns the following error codes. On error, the report packet will be correct up until the usage element that caused the error. -· HIDP_STATUS_SUCCESS -- upon successful insertion of all usages +· HIDP_STATUS_SUCCESS -- upon successful insertion of all usages into the report packet. -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in the HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device +· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device for the given ReportType -· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- if a usage was found that exists in a +· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- if a usage was found that exists in a different report. If the report is zero-initialized on entry the first usage in the list will determine which report ID is used. Otherwise, the parser will verify that usage matches the passed in report's ID -· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage does not exist for any +· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage does not exist for any report (no matter what the report ID) for the given report type. -· HIDP_STATUS_BUFFER_TOO_SMALL -- if there are not enough entries in a +· HIDP_STATUS_BUFFER_TOO_SMALL -- if there are not enough entries in a given Main Array Item to list all of the given usages. The caller needs to split his request into more than @@ -861,27 +861,27 @@ Return Value HidP_UnsetUsages returns the following error codes. On error, the report packet will be correct up until the usage element that caused the error. -· HIDP_STATUS_SUCCESS -- upon successful "unsetting" of all usages +· HIDP_STATUS_SUCCESS -- upon successful "unsetting" of all usages in the report packet. -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in the HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device +· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device for the given ReportType -· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- if a usage was found that exists in a +· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- if a usage was found that exists in a different report. If the report is zero-initialized on entry the first usage in the list will determine which report ID is used. Otherwise, the parser will verify that usage matches the passed in report's ID -· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage does not exist for any +· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage does not exist for any report (no matter what the report ID) for the given report type. -· HIDP_STATUS_BUTTON_NOT_PRESSED -- if a usage corresponds to a button that +· HIDP_STATUS_BUTTON_NOT_PRESSED -- if a usage corresponds to a button that is not already set in the given report --*/ @@ -944,27 +944,27 @@ Routine Description: Return Value HidP_GetUsages returns the following error codes: -· HIDP_STATUS_SUCCESS -- upon successfully retrieving all the +· HIDP_STATUS_SUCCESS -- upon successfully retrieving all the usages from the report packet -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in the HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device +· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device for the given ReportType -· HIDP_STATUS_BUFFER_TOO_SMALL -- if the UsageList is not big enough to +· HIDP_STATUS_BUFFER_TOO_SMALL -- if the UsageList is not big enough to hold all the usages found in the report packet. If this is returned, the buffer will contain UsageLength number of usages. Use HidP_MaxUsageListLength to find the maximum length needed -· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- if no usages were found but usages +· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- if no usages were found but usages that match the UsagePage and LinkCollection specified could be found in a report with a different report ID -· HIDP_STATUS_USAGE_NOT_FOUND -- if there are no usages in a reports for +· HIDP_STATUS_USAGE_NOT_FOUND -- if there are no usages in a reports for the device and ReportType that match the UsagePage and LinkCollection that were specified @@ -1023,27 +1023,27 @@ Routine Description: Return Value HidP_GetUsagesEx returns the following error codes: -· HIDP_STATUS_SUCCESS -- upon successfully retrieving all the +· HIDP_STATUS_SUCCESS -- upon successfully retrieving all the usages from the report packet -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in the HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device +· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device for the given ReportType -· HIDP_STATUS_BUFFER_TOO_SMALL -- if ButtonList is not big enough to +· HIDP_STATUS_BUFFER_TOO_SMALL -- if ButtonList is not big enough to hold all the usages found in the report packet. If this is returned, the buffer will contain UsageLength number of usages. Use HidP_MaxUsageListLength to find the maximum length needed -· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- if no usages were found but usages +· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- if no usages were found but usages that match the specified LinkCollection exist in report with a different report ID. -· HIDP_STATUS_USAGE_NOT_FOUND -- if there are no usages in any reports that +· HIDP_STATUS_USAGE_NOT_FOUND -- if there are no usages in any reports that match the LinkCollection parameter --*/ @@ -1139,24 +1139,24 @@ HidP_SetUsageValue ( Return Value: HidP_SetUsageValue returns the following error codes: -· HIDP_STATUS_SUCCESS -- upon successfully setting the value +· HIDP_STATUS_SUCCESS -- upon successfully setting the value in the report packet -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in the HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device +· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device for the given ReportType -· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and +· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and link collection exist but exists in a report with a different report ID than the report being passed in. To set this value, call HidP_SetUsageValue again with a zero-initizialed report packet -· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link +· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link collection combination does not exist in any reports for this ReportType --*/ @@ -1224,33 +1224,33 @@ HidP_SetScaledUsageValue ( Return Value: HidP_SetScaledUsageValue returns the following error codes: -· HIDP_STATUS_SUCCESS -- upon successfully setting the value +· HIDP_STATUS_SUCCESS -- upon successfully setting the value in the report packet -· HIDP_STATUS_NULL -- upon successfully setting the value +· HIDP_STATUS_NULL -- upon successfully setting the value in the report packet as a NULL value -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in the HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_VALUE_OUT_OF_RANGE -- if the value specified failed to fall +· HIDP_STATUS_VALUE_OUT_OF_RANGE -- if the value specified failed to fall within the physical range if it exists or within the logical range otherwise and the field specified by the usage does not allow NULL values -· HIDP_STATUS_BAD_LOG_PHY_VALUES -- if the field has a physical range but +· HIDP_STATUS_BAD_LOG_PHY_VALUES -- if the field has a physical range but either the logical range is invalid (max <= min) or the physical range is invalid -· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and +· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and link collection exist but exists in a report with a different report ID than the report being passed in. To set this value, call HidP_SetScaledUsageValue again with a zero-initialized report packet -· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link +· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link collection combination does not exist in any reports for this ReportType --*/ @@ -1326,38 +1326,38 @@ Routine Descripton: Return Value: -· HIDP_STATUS_SUCCESS -- upon successfully setting the value +· HIDP_STATUS_SUCCESS -- upon successfully setting the value array in the report packet -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in the HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device +· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device for the given ReportType -· HIDP_STATUS_NOT_VALUE_ARRAY -- if the control specified is not a +· HIDP_STATUS_NOT_VALUE_ARRAY -- if the control specified is not a value array -- a value array will have a ReportCount field in the HIDP_VALUE_CAPS structure that is > 1 Use HidP_SetUsageValue instead -· HIDP_STATUS_BUFFER_TOO_SMALL -- if the size of the passed in buffer with +· HIDP_STATUS_BUFFER_TOO_SMALL -- if the size of the passed in buffer with the values to set is too small (ie. has fewer values than the number of fields in the array -· HIDP_STATUS_NOT_IMPLEMENTED -- if the usage value array has field sizes +· HIDP_STATUS_NOT_IMPLEMENTED -- if the usage value array has field sizes that are not multiples of 8 bits, this error code is returned since the function currently does not handle setting into such arrays. -· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and +· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and link collection exist but exists in a report with a different report ID than the report being passed in. To set this value, call HidP_SetUsageValueArray again with a zero-initialized report packet -· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link +· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link collection combination does not exist in any reports for this ReportType --*/ @@ -1414,23 +1414,23 @@ Description Return Value: HidP_GetUsageValue returns the following error codes: -· HIDP_STATUS_SUCCESS -- upon successfully retrieving the value +· HIDP_STATUS_SUCCESS -- upon successfully retrieving the value from the report packet -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in the HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device +· HIDP_STATUS_REPORT_DOES_NOT_EXIST -- if there are no reports on this device for the given ReportType -· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and +· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and link collection exist but exists in a report with a different report ID than the report being passed in. To set this value, call HidP_GetUsageValue again with a different report packet -· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link +· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link collection combination does not exist in any reports for this ReportType --*/ @@ -1502,31 +1502,31 @@ Description Return Value: HidP_GetScaledUsageValue returns the following error codes: -· HIDP_STATUS_SUCCESS -- upon successfully retrieving the value +· HIDP_STATUS_SUCCESS -- upon successfully retrieving the value from the report packet -· HIDP_STATUS_NULL -- if the report packet had a NULL value +· HIDP_STATUS_NULL -- if the report packet had a NULL value set -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in the HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_VALUE_OUT_OF_RANGE -- if the value retrieved from the packet +· HIDP_STATUS_VALUE_OUT_OF_RANGE -- if the value retrieved from the packet falls outside the logical range and the field does not support NULL values -· HIDP_STATUS_BAD_LOG_PHY_VALUES -- if the field has a physical range but +· HIDP_STATUS_BAD_LOG_PHY_VALUES -- if the field has a physical range but either the logical range is invalid (max <= min) or the physical range is invalid -· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and +· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and link collection exist but exists in a report with a different report ID than the report being passed in. To set this value, call HidP_GetScaledUsageValue with a different report packet -· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link +· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link collection combination does not exist in any reports for this ReportType --*/ @@ -1600,36 +1600,36 @@ Routine Descripton: Return Value: -· HIDP_STATUS_SUCCESS -- upon successfully retrieving the value +· HIDP_STATUS_SUCCESS -- upon successfully retrieving the value from the report packet -· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. -· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid -· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not +· HIDP_STATUS_INVALID_REPORT_TYPE -- if ReportType is not valid. +· HIDP_STATUS_INVALID_PREPARSED_DATA -- if PreparsedData is not valid +· HIDP_STATUS_INVALID_REPORT_LENGTH -- the length of the report packet is not equal to the length specified in the HIDP_CAPS structure for the given ReportType -· HIDP_STATUS_NOT_VALUE_ARRAY -- if the control specified is not a +· HIDP_STATUS_NOT_VALUE_ARRAY -- if the control specified is not a value array -- a value array will have a ReportCount field in the HIDP_VALUE_CAPS structure that is > 1 Use HidP_GetUsageValue instead -· HIDP_STATUS_BUFFER_TOO_SMALL -- if the size of the passed in buffer in +· HIDP_STATUS_BUFFER_TOO_SMALL -- if the size of the passed in buffer in which to return the array is too small (ie. has fewer values than the number of fields in the array -· HIDP_STATUS_NOT_IMPLEMENTED -- if the usage value array has field sizes +· HIDP_STATUS_NOT_IMPLEMENTED -- if the usage value array has field sizes that are not multiples of 8 bits, this error code is returned since the function currently does not handle getting values from such arrays. -· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and +· HIDP_STATUS_INCOMPATIBLE_REPORT_ID -- the specified usage page, usage and link collection exist but exists in a report with a different report ID than the report being passed in. To set this value, call HidP_GetUsageValueArray with a different report packet -· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link +· HIDP_STATUS_USAGE_NOT_FOUND -- if the usage page, usage, and link collection combination does not exist in any reports for this ReportType --*/ diff --git a/pk2cmd/pk2cmd.cpp b/pk2cmd/pk2cmd.cpp index 0cbe096..1d9cf6b 100644 --- a/pk2cmd/pk2cmd.cpp +++ b/pk2cmd/pk2cmd.cpp @@ -9,7 +9,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/pk2usb.cpp b/pk2cmd/pk2usb.cpp index 8634b53..6118bbe 100644 --- a/pk2cmd/pk2usb.cpp +++ b/pk2cmd/pk2usb.cpp @@ -12,7 +12,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/pk2usbcommon.cpp b/pk2cmd/pk2usbcommon.cpp index 2b7dc6d..45ef28e 100644 --- a/pk2cmd/pk2usbcommon.cpp +++ b/pk2cmd/pk2usbcommon.cpp @@ -12,7 +12,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/stdafx.cpp b/pk2cmd/stdafx.cpp index c743353..04efd1c 100644 --- a/pk2cmd/stdafx.cpp +++ b/pk2cmd/stdafx.cpp @@ -7,7 +7,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL diff --git a/pk2cmd/usbhidioc.cpp b/pk2cmd/usbhidioc.cpp index f581aae..68ea13d 100644 --- a/pk2cmd/usbhidioc.cpp +++ b/pk2cmd/usbhidioc.cpp @@ -7,7 +7,7 @@ // Software must have this entire copyright and disclaimer notice prominently // posted in a location where end users will see it (e.g., installation program, // program headers, About Box, etc.). To the maximum extent permitted by law, -// this Software is distributed “AS IS” and WITHOUT ANY WARRANTY INCLUDING BUT +// this Software is distributed "AS IS" and WITHOUT ANY WARRANTY INCLUDING BUT // NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR // PARTICULAR PURPOSE, or NON-INFRINGEMENT. IN NO EVENT WILL MICROCHIP OR ITS // LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL