Discussion:
Is HANDLE a DWORD?
(too old to reply)
T
2022-11-19 23:51:55 UTC
Permalink
Hi All,

In the following

C++
HANDLE WTSOpenServerA(
[in] LPSTR pServerName
);

Is HANDLE a DWORD (32 bit integer)?

Many thanks,
-T
T
2022-11-20 03:11:02 UTC
Permalink
Post by T
Hi All,
In the following
C++
HANDLE WTSOpenServerA(
  [in] LPSTR pServerName
);
Is HANDLE a DWORD (32 bit integer)?
Many thanks,
-T
I just noticed I have HANDLE defined in Raku as

constant HANDLE = Pointer[void];

I do believe most C++
JJ
2022-11-20 14:14:43 UTC
Permalink
I do believe most C++ pointer are 32 bit
cardinals (unsigned integers)
Only if it was compiled as a 32-bit module.

A pointer would be 64-bit if i's compiled as a 64-bit module.

Loading...