NAME

GetComputerObjectNameA  (SECUR32.@)

SYNOPSIS

 BOOLEAN GetComputerObjectNameA
 (
  EXTENDED_NAME_FORMAT NameFormat,
  LPSTR                lpNameBuffer,
  PULONG               nSize
 )

DESCRIPTION

Get the local computer's name using the format specified.

PARAMS

NameFormat [In] The format for the name.
lpNameBuffer [Out] Pointer to buffer to receive the name.
nSize [In/Out] Size in characters of buffer.

RETURNS

TRUE If the name was written to lpNameBuffer. FALSE If the name couldn't be written.

NOTES

If lpNameBuffer is NULL, then the size of the buffer needed to hold the name will be returned in *nSize.

nSize returns the number of characters written when lpNameBuffer is not NULL or the size of the buffer needed to hold the name when the buffer is too short or lpNameBuffer is NULL.

It the buffer is too short, ERROR_INSUFFICIENT_BUFFER error will be set.

IMPLEMENTATION

Declared in "include/secext.h". gitlab.winehq.org/wine/wine/blob/master/include/secext.h

Implemented in "dlls/secur32/secur32.c". gitlab.winehq.org/wine/wine/blob/master/dlls/secur32/secur32.c


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.