Page 1 of 1

DWORDLONG 64-bit unsigned integer in structure ?

Posted: Thu Mar 10, 2005 2:01 pm
by bingo
typedef struct _SP_DRVINFO_DATA {
DWORD cbSize;
DWORD DriverType;
ULONG_PTR Reserved;
TCHAR Description[LINE_LEN];
TCHAR MfgName[LINE_LEN];
TCHAR ProviderName[LINE_LEN];
FILETIME DriverDate;
DWORDLONG DriverVersion;
} SP_DRVINFOR_DATA, *PSP_DRVINFO_DATA;

in PB:

Code: Select all

Structure _SP_DRVINFO_DATA
cbSize.l
DriverType.l
Reserved.l
Description.b[#LINE_LEN];
MfgName.b[#LINE_LEN];
ProviderName.b[#LINE_LEN];
DriverDate.Filetime
DriverVersion ;<- ???
EndStructure
how can define this DWORDLONG 64-bit unsigned integer in pb-structure ? :roll:

Posted: Thu Mar 10, 2005 3:54 pm
by Fred
You can use the LARGE_INTEGER structure which is the standard Windows type for 64 bits.