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

Tip: use of pointers example

ToddAndMargo via perl6-users
December 2, 2022 01:40
Tip: use of pointers example
Message ID:
Hi All,

Windows 11 pro 22H2

The following is a test example of the use of
pointers for calling Windows DLL's and
for copying data out of structures when given
a pointer to the structure.

Before you tell me there is an easier way to
get the computer name out of "GetComputerNameA,"
this is to show the use of pointers and to
specifically test "memcpy_s".

HTH someone else

Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About