BOOLEAN GetComputerObjectNameA ( EXTENDED_NAME_FORMAT NameFormat, LPSTR lpNameBuffer, PULONG nSize )
Get the local computer's name using the format specified.
|NameFormat||[In]||The format for the name.|
|lpNameBuffer||[Out]||Pointer to buffer to receive the name.|
|nSize||[In/Out]||Size in characters of buffer.|
TRUE If the name was written to lpNameBuffer. FALSE If the name couldn't be written.
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.
Declared in "secext.h". https://source.winehq.org/source/include/secext.h
Implemented in "dlls/secur32/secur32.c". https://source.winehq.org/source/dlls/secur32/secur32.c
Copyright © 2022 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Sep 2022.