develooper Front page | perl.perl6.users | Postings from November 2022

What is this handle?

Thread Next
From:
ToddAndMargo via perl6-users
Date:
November 20, 2022 03:13
Subject:
What is this handle?
Message ID:
a307759f-f23a-2c42-b8d5-eac2ca3b169e@zoho.com
Hi All,

Any of you familiar with native call?

In the following

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

Is HANDLE a DWORD (32 bit integer)?

I just noticed I have HANDLE defined in Raku as

      constant HANDLE   = Pointer[void];

I do believe most C++ pointers are 32 bit
cardinals (unsigned integers)

Many thanks,
-T


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About