Hi,
Can anyone give some guidance on coverting the following API calls to VB6 - Types/Datatypes etc.
1)
BOOL SetupDiSetDeviceRegistryProperty(
HDEVINFO DeviceInfoSet,
PSP_DEVINFO_DATA DeviceInfoData,
DWORD Property,
CONST BYTE * PropertyBuffer,
DWORD PropertyBufferSize
);
*******************************************************
2)
typedef struct _SP_DEVINFO_DATA { DWORD cbSize; GUID ClassGuid; DWORD DevInst; ULONG_PTR Reserved;
} SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
*******************************************************
3)
HDEVINFO SetupDiGetClassDevs(
const GUID* ClassGuid,
PCTSTR Enumerator,
HWND hwndParent,
DWORD Flags
);
********************************************************
Thanks,
Duncan
Can anyone give some guidance on coverting the following API calls to VB6 - Types/Datatypes etc.
1)
BOOL SetupDiSetDeviceRegistryProperty(
HDEVINFO DeviceInfoSet,
PSP_DEVINFO_DATA DeviceInfoData,
DWORD Property,
CONST BYTE * PropertyBuffer,
DWORD PropertyBufferSize
);
*******************************************************
2)
typedef struct _SP_DEVINFO_DATA { DWORD cbSize; GUID ClassGuid; DWORD DevInst; ULONG_PTR Reserved;
} SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
*******************************************************
3)
HDEVINFO SetupDiGetClassDevs(
const GUID* ClassGuid,
PCTSTR Enumerator,
HWND hwndParent,
DWORD Flags
);
********************************************************
Thanks,
Duncan