Using Win32 functions in Visual FoxPro Image Gallery
System Information
..msdn
ExpandEnvironmentStrings
GetComputerName
GetComputerNameEx
GetComputerObjectName
GetCurrentHwProfile
GetKeyboardType
GetNativeSystemInfo
GetProductInfo
GetSysColor
GetSystemDirectory
GetSystemInfo
GetSystemMetrics
GetSystemRegistryQuota
GetSystemWow64Directory
GetUserName
GetUserNameEx
GetVersion
GetVersionEx
GetWindowsDirectory
IsNetworkAlive
SetComputerName
SetSysColors
SystemParametersInfo
Code examples:
Retrieving local computer and user names
GetComputerObjectName
..msdn    Add comment     W32 Constants      Translate this page
The GetComputerObjectName function retrieves the local computer"s name in a specified format.
Code examples:
Retrieving local computer and user names
Declaration:
BOOLEAN GetComputerObjectName(
  EXTENDED_NAME_FORMAT NameFormat,
  LPTSTR lpNameBuffer,
  PULONG nSize
);
FoxPro declaration:
DECLARE INTEGER GetComputerObjectName IN secur32;
    INTEGER   NameFormat,;
    STRING  @ lpNameBuffer,;
    INTEGER @ nSize

Parameters:
NameFormat
[in] Format for the name. This parameter is a value from the EXTENDED_NAME_FORMAT enumeration type.

lpNameBuffer
[out] Pointer to a buffer that receives the name in the specified format.

nSize
[in, out] On input, specifies the size of the lpNameBuffer buffer, in TCHARs.
Return value:
If the function succeeds, the return value is a nonzero value.
My comment:
Client: Requires Windows XP or Windows 2000 Professional.
Word Index links for the GetComputerObjectName :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-04-05 09:05:15
Modified: 2009-01-07 12:44:17
Visited in last 7 days: 32
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.221.136.62)
17 sec.Function: 'StartDoc'
35 sec.Function: 'SCardEstablishContext'
55 sec.Function: 'GetInterfaceInfo'
Function group: 'IP Helper'
1.23 min.Function: 'StrDup'
1.55 min.Function: 'UuidCreate'
1.88 min.Function: 'GetDriveType'
2.22 min.Function: 'FindFirstVolume'
2.53 min.Function: 'FileIconInit'
2.88 min.Function: 'CeMoveFile'
3.23 min.Function: 'ConnectToPrinterDlg'
Google
Advertise here!