Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

SetupDiEnumDeviceInfo: Mark deviceInfoData bidirectional #482

Merged
merged 2 commits into from
Jul 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/SetupApi/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ static PInvoke.SetupApi.SetupDiBuildDriverInfoList(PInvoke.SetupApi.SafeDeviceIn
static PInvoke.SetupApi.SetupDiBuildDriverInfoList(PInvoke.SetupApi.SafeDeviceInfoSetHandle deviceInfoSet, System.IntPtr deviceInfoData, PInvoke.SetupApi.DriverType driverType) -> bool
static PInvoke.SetupApi.SetupDiCreateDeviceInfoList(System.Guid? classGuid, System.IntPtr hwndParent) -> PInvoke.SetupApi.SafeDeviceInfoSetHandle
static PInvoke.SetupApi.SetupDiCreateDeviceInfoList(System.IntPtr classGuid, System.IntPtr hwndParent) -> PInvoke.SetupApi.SafeDeviceInfoSetHandle
static PInvoke.SetupApi.SetupDiEnumDeviceInfo(PInvoke.SetupApi.SafeDeviceInfoSetHandle deviceInfoSet, int memberIndex, ref PInvoke.SetupApi.SP_DEVINFO_DATA deviceInfoData) -> bool
static PInvoke.SetupApi.SetupDiEnumDriverInfo(PInvoke.SetupApi.SafeDeviceInfoSetHandle deviceInfoSet, PInvoke.SetupApi.SP_DEVINFO_DATA? deviceInfoData, PInvoke.SetupApi.DriverType driverType, uint memberIndex, ref PInvoke.SetupApi.SP_DRVINFO_DATA driverInfoData) -> bool
static PInvoke.SetupApi.SetupDiEnumDriverInfo(PInvoke.SetupApi.SafeDeviceInfoSetHandle deviceInfoSet, System.IntPtr deviceInfoData, PInvoke.SetupApi.DriverType driverType, uint memberIndex, System.IntPtr driverInfoData) -> bool
static PInvoke.SetupApi.SetupDiGetDeviceInstallParams(PInvoke.SetupApi.SafeDeviceInfoSetHandle deviceInfoSet, PInvoke.SetupApi.SP_DEVINFO_DATA? deviceInfoData, ref PInvoke.SetupApi.SP_DEVINSTALL_PARAMS deviceInstallParams) -> bool
Expand Down
2 changes: 1 addition & 1 deletion src/SetupApi/SetupApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public static extern unsafe bool SetupDiGetDeviceInterfaceDetail(
public static extern unsafe bool SetupDiEnumDeviceInfo(
SafeDeviceInfoSetHandle deviceInfoSet,
int memberIndex,
SP_DEVINFO_DATA* deviceInfoData);
[Friendly(FriendlyFlags.Bidirectional)] SP_DEVINFO_DATA* deviceInfoData);

/// <summary>
/// Retrieves a device instance property.
Expand Down