 |
GetComputerObjectName ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GetComputerObjectName function retrieves the local computer"s name in a specified format. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-04-05 09:05:15 | | Modified: | 2009-01-07 12:44:17 | Visited in last 7 days: 20 |