From 8fa4975d27ca849ca294b4efde67d9c1a0b0ae7d Mon Sep 17 00:00:00 2001 From: Meterel <114000274+Meterel@users.noreply.github.com> Date: Wed, 20 May 2026 22:12:24 +0200 Subject: [PATCH] Mark lpFilePart of GetFullPathName as optional Mark parameter lpFilePart of GetFullPathName that "can be NULL" and is defined in the header with _Outptr_opt_ as optional --- sdk-api-src/content/fileapi/nf-fileapi-getfullpathnamea.md | 4 ++-- sdk-api-src/content/fileapi/nf-fileapi-getfullpathnamew.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk-api-src/content/fileapi/nf-fileapi-getfullpathnamea.md b/sdk-api-src/content/fileapi/nf-fileapi-getfullpathnamea.md index 75ec8272b86..01c7b9f03c7 100644 --- a/sdk-api-src/content/fileapi/nf-fileapi-getfullpathnamea.md +++ b/sdk-api-src/content/fileapi/nf-fileapi-getfullpathnamea.md @@ -92,12 +92,12 @@ The size of the buffer to receive the null-terminated string for the drive and p A pointer to a buffer that receives the null-terminated string for the drive and path. -### -param lpFilePart [out] +### -param lpFilePart [out, optional] A pointer to a buffer that receives the address (within lpBuffer) of the final file name component in the path. -This parameter can be NULL. +This parameter can be NULL. If lpBuffer refers to a directory and not a file, lpFilePart receives zero. diff --git a/sdk-api-src/content/fileapi/nf-fileapi-getfullpathnamew.md b/sdk-api-src/content/fileapi/nf-fileapi-getfullpathnamew.md index 7465aacfb14..2acb9043a81 100644 --- a/sdk-api-src/content/fileapi/nf-fileapi-getfullpathnamew.md +++ b/sdk-api-src/content/fileapi/nf-fileapi-getfullpathnamew.md @@ -96,12 +96,12 @@ The size of the buffer to receive the null-terminated string for the drive and p A pointer to a buffer that receives the null-terminated string for the drive and path. -### -param lpFilePart [out] +### -param lpFilePart [out, optional] A pointer to a buffer that receives the address (within lpBuffer) of the final file name component in the path. -This parameter can be NULL. +This parameter can be NULL. If lpBuffer refers to a directory and not a file, lpFilePart receives zero.