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: 20
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (107.21.186.38)
3 sec.Example: 'GDI+: Creating thumbnails to preview images in a directory'
8.03 hrs.Example: 'Comparing dimensions of the VFP main window with _SCREEN properties'
 Example: 'Displaying printer-properties Property Sheet for the specified printer'
8.96 hrs.Example: 'Sending a standard message with one or more attached files using default email client'
17.09 hrs.Example: 'Verifying a file using the Authenticode policy provider'
17.1 hrs.Function: 'GdipSetPageScale'
Function group: 'GDI+ Graphics'
17.32 hrs.Example: 'Starting a dialog box for connecting to network resources (mapping network drive)'
 Example: 'Hiding mouse cursor'
1 day(s)Function: 'NetUserDel'
Function group: 'Network Management'
 Example: 'GetFileOwner - Get the owner of an NTFS file'
Google
Advertise here!