DWORDLONG 64-bit unsigned integer in structure ?

Everything else that doesn't fall into one of the other PB categories.
User avatar
bingo
Enthusiast
Enthusiast
Posts: 210
Joined: Fri Apr 02, 2004 12:21 pm
Location: germany/thueringen
Contact:

DWORDLONG 64-bit unsigned integer in structure ?

Post 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:
["1:0>1"]
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

You can use the LARGE_INTEGER structure which is the standard Windows type for 64 bits.
Post Reply