From c494ef56376337afa6dab68841ff02b2bf7e73d4 Mon Sep 17 00:00:00 2001 From: iPhilip Date: Sat, 19 Jul 2025 11:34:24 -0700 Subject: [PATCH] Update nf-winbase-lookupaccountnamew.md Corrected the ReferencedDomainName and the cchReferencedDomainName parameter descriptions as the function does not return the required buffer size. --- sdk-api-src/content/winbase/nf-winbase-lookupaccountnamew.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk-api-src/content/winbase/nf-winbase-lookupaccountnamew.md b/sdk-api-src/content/winbase/nf-winbase-lookupaccountnamew.md index a324c3ade158..fbc38beb3cc7 100644 --- a/sdk-api-src/content/winbase/nf-winbase-lookupaccountnamew.md +++ b/sdk-api-src/content/winbase/nf-winbase-lookupaccountnamew.md @@ -85,11 +85,11 @@ A pointer to a variable. On input, this value specifies the size, in bytes, of t ### -param ReferencedDomainName [out, optional] -A pointer to a buffer that receives the name of the domain where the account name is found. For computers that are not joined to a domain, this buffer receives the computer name. If this parameter is NULL, the function returns the required buffer size. +A pointer to a buffer that receives the name of the domain where the account name is found. For computers that are not joined to a domain, this buffer receives the computer name. If this parameter is NULL, cchReferencedDomainName must be zero. ### -param cchReferencedDomainName [in, out] -A pointer to a variable. On input, this value specifies the size, in TCHARs, of the ReferencedDomainName buffer. If the function fails because the buffer is too small, this variable receives the required buffer size, including the terminating null character. If the ReferencedDomainName parameter is NULL, this parameter must be zero. +A pointer to a variable. On input, this value specifies the size, in TCHARs, of the ReferencedDomainName buffer. If the function fails because the buffer is too small, this variable receives the required buffer size, including the terminating null character. ### -param peUse [out]