Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetComputerName API Call
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00227405
Message ID:
00227748
Views:
26
Both INTEGER and SHORT should work, but INTEGER is the correct choice for BOOL.

Vlad

>The function actually returns a Boolean value. While a declaration of integer is probably more appropriate, I use a SHORT to help me distinguish the return value. In this case, a non-zero value equals true.
>
>hth,
Previous
Reply
Map
View

Click here to load this message in the networking platform