Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SP_DEVINFO_DATA" in [All]

setupapi

.

    SP_DEVINFO_DATA da = new SP_DEVINFO_DATA();

.

           CM_Request_Device_Eject_NoUi((int)USBData.DevInst, IntPtr.Zero, null, 0, 0); // USBData, a SP_DEVINFO_DATA structure.

.

     ref SP_DEVINFO_DATA DeviceInfoData

.

                          ByRef DeviceInfoData As SP_DEVINFO_DATA _

.

                          ByRef DeviceInfoData As SP_DEVINFO_DATA _

.

SP_DEVINFO_DATA

.

    private bool ChangeIt(IntPtr hDevInfo, Native.SP_DEVINFO_DATA devInfoData, bool bEnable)

.
Summary
Returns a SP_DEVINFO_DATA structure that specifies a device information element in a device information set.
.

static extern bool SetupDiEnumDeviceInfo(IntPtr DeviceInfoSet, uint MemberIndex, ref SP_DEVINFO_DATA DeviceInfoData);

.

    ByRef DeviceInfoData As SP_DEVINFO_DATA) As Boolean

.

    ByRef DeviceInfoData As SP_DEVINFO_DATA) As Boolean

.

SP_DEVINFO_DATA

.

out Pointer to an SP_DEVINFO_DATA structure that receives information about this element. You must set the cbSize member to sizeof(SP_DEVINFO_DATA) before calling this function.

.

            SP_DEVINFO_DATA da = new SP_DEVINFO_DATA();

.

   ref SP_DEVINFO_DATA devInfo,

.

if you do not care about SP_DEVINFO_DATA and wish to pass NULL (IntPtr.Zero). Note example below uses this signature.

.

SP_DEVINFO_DATA

.

SP_DEVINFO_DATA

.

SP_DEVINFO_DATA

.

       SP_DEVINFO_DATA da = new SP_DEVINFO_DATA();

.

       SP_DEVINFO_DATA da = new SP_DEVINFO_DATA();

.

    static extern bool SetupDiGetDeviceInstallParams(IntPtr hDevInfo, ref SP_DEVINFO_DATA DeviceInfoData, ref SP_DEVINSTALL_PARAMS DeviceInstallParams);

.

                              ByRef DeviceInfoData As SP_DEVINFO_DATA, _

.

    Public Structure SP_DEVINFO_DATA

.

   ref SP_DEVINFO_DATA DeviceInfoData,

.

SP_DEVINFO_DATA

.

   IN PSP_DEVINFO_DATA  DeviceInfoData,

.

            SP_DEVINFO_DATA da = new SP_DEVINFO_DATA();

.

   ref SP_DEVINFO_DATA deviceInfoData

.

    ByRef deviceInfoData As SP_DEVINFO_DATA) As Boolean

.

    ByRef DeviceInfoData As SP_DEVINFO_DATA) As Boolean '

.

SP_DEVINFO_DATA

.

SP_DEVINFO_DATA

.

SP_DEVINFO_DATA

.

       SP_DEVINFO_DATA da = new SP_DEVINFO_DATA();

.

       Dim da, da2 As SP_DEVINFO_DATA

.

        ref SP_DEVINFO_DATA DeviceInfoData,

.

        ref SP_DEVINFO_DATA DeviceInfoData,

.

    ref SP_DEVINFO_DATA deviceInfoData,

.

    ref SP_DEVINFO_DATA deviceInfoData,

.

deviceInfoData, Pointer to an SP_DEVINFO_DATA structure that defines the device instance.

.

    ByRef DeviceInfoData As SP_DEVINFO_DATA, _

.

SP_DEVINFO_DATA

.

       SP_DEVINFO_DATA da = new SP_DEVINFO_DATA();

.

    ref SP_DEVINFO_DATA deviceInfoData,

.

Private Function SetupDiOpenDevRegKey(DeviceInfoSet As IntPtr, ByRef DeviceInfoData As SP_DEVINFO_DATA, Scope As UInteger, HwProfile As UInteger, KeyType As UInteger, samDesired As UInteger) As IntPtr

.

static extern bool SetupDiSetClassInstallParams(IntPtr DeviceInfoSet, ref SP_DEVINFO_DATA DeviceInfoData, IntPtr ClassInstallParams, int ClassInstallParamsSize);

.

public struct SP_DEVINFO_DATA

.

    private bool ChangeIt(IntPtr hDevInfo, Native.SP_DEVINFO_DATA devInfoData, bool bEnable)

.

static extern bool SetupDiSetClassInstallParams(IntPtr DeviceInfoSet, ref SP_DEVINFO_DATA DeviceInfoData, IntPtr ClassInstallParams, int ClassInstallParamsSize);

.

public struct SP_DEVINFO_DATA

Structures

.

struct SP_DEVINFO_DATA

.

Private Structure SP_DEVINFO_DATA

.

On 32bit platforms, all SetupApi structures are 1-Byte packed. On 64bit platforms the SetupApi structures are 8-byte packed. IE for 32 bit SP_DEVINFO_DATA.cbSize=28, for 64Bit SP_DEVINFO_DATA.cbSize=(28+4)=32.

.
Documentation
[SP_DEVINFO_DATA] on MSDN

 
Access PInvoke.net directly from VS: