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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "SetupDiEnumDeviceInterfaces" in [All]

Structures

.

Used with SetupDiEnumDeviceInterfaces and SetupDiGetDeviceInterfaceDetail

setupapi

.

// from SetupDiEnumDeviceInterfaces and SetupDiGetDeviceInterfaceDetail so please see those examples

.

     Success = SetupDiEnumDeviceInterfaces(h, IntPtr.Zero, ref DiskGUID, i, ref dia);

.

Private Declare Function SetupDiEnumDeviceInterfaces _

.

If SetupDiEnumDeviceInterfaces(PnPHandle, 0, PrnGuid.Data1, _

.

public static extern Boolean SetupDiEnumDeviceInterfaces(

.

public static extern Boolean SetupDiEnumDeviceInterfaces(

.

  Public Shared Function SetupDiEnumDeviceInterfaces(ByVal hDevInfo As IntPtr, _

.

Public Declare Auto Function SetupDiEnumDeviceInterfaces Lib "setupapi.dll" ( _

.

A call to SetupDiEnumDeviceInterfaces retrieves a pointer to a structure that identifies a specific device interface in the previously retrieved DeviceInfoSet array. The call specifies a device interface by passing an array index. To retrieve information about all of the device interfaces, an application can loop through the array, incrementing the array index until the function returns zero, indicating that there are no more interfaces. The GetLastError API function then returns No more data is available.

.

bool result = Win32Calls.SetupDiEnumDeviceInterfaces(ipDeviceHndl, iLU, ref DeviceGUID, 0, ref devData);

.

    public static extern Boolean SetupDiEnumDeviceInterfaces(IntPtr hDevInfo, IntPtr devInfo, ref Guid interfaceClassGuid, UInt32 memberIndex, ref SP_DEVICE_INTERFACE_DATA deviceInterfaceData);

.

     Success = SetupDiEnumDeviceInterfaces(h, IntPtr.Zero, ref DiskGUID, i, ref dia);

.
Documentation
[SetupDiEnumDeviceInterfaces] on MSDN
.

     Success = SetupDiEnumDeviceInterfaces(h, IntPtr.Zero, ref DiskGUID, i, ref dia);

.
Summary
.

     Success = SetupDiEnumDeviceInterfaces(h, IntPtr.Zero, ref DiskGUID, i, ref dia);

.

        devEnumInterfaceResult = SetupDiEnumDeviceInterfaces(h, IntPtr.Zero, myGuid, i, dia)

.

     Success = SetupDiEnumDeviceInterfaces(h, IntPtr.Zero, ref DiskGUID, i, ref dia);


 
Access PInvoke.net directly from VS: