Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function sets configuration for a device on a dynamically configurable I/O bus with a published, standard interface.
ULONG SetDeviceConfigurationData ( HANDLE hBusAccess, DWORD dwSpace, DWORD BusNumber, DWORD SlotNumber, DWORD dwOffset, DWORD dwLength, PVOID pBuffer);
Parameters
- hBusAccess
[in] Handle obtained from CreateBusAccessHandle. - dwSpace
[in] Configuration address space. - BusNumber
[in] Zero-based and system-assigned bus number for the device, used with InterfaceType to identify the bus for systems with more than one bus of the same type. - SlotNumber
[in] Logical slot number or location of the device. This value is the slot and function numbers combined. - dwOffset
[in] Byte offset in the PCI_COMMON_CONFIG structure where the caller-supplied configuration values begin. Callers can use the system-defined constant PCI_COMMON_HDR_LENGTH to specify the device-specific area of PCI_COMMON_CONFIG. - dwLength
[in] Maximum number of bytes in pBuffer. - pBuffer
[in] Pointer to a caller-supplied buffer for configuration information.
Return Values
Returns the number of bytes of data it wrote in the specified buffer.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: CEDDK.h.
See Also
CreateBusAccessHandle | HalSetBusDataByOffset | PCI_COMMON_CONFIG
Send Feedback on this topic to the authors