From 2d5dc32f351867b04f11ba3f788278c4e522ef98 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Wed, 30 Nov 2005 12:02:06 +0100 Subject: [PATCH] The buffer sizes in the documentation for MsiDecomposeDescriptorW don't include the NULL terminator, so fix this. --- dlls/msi/registry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c index 3af662b5ae4..528070e0ffd 100644 --- a/dlls/msi/registry.c +++ b/dlls/msi/registry.c @@ -502,9 +502,9 @@ UINT MSIREG_OpenUserUpgradeCodesKey(LPCWSTR szUpgradeCode, HKEY* key, BOOL creat * * PARAMS * szDescriptor [I] the descriptor to decompose - * szProduct [O] buffer of MAX_FEATURE_CHARS for the product guid - * szFeature [O] buffer of MAX_FEATURE_CHARS for the feature code - * szComponent [O] buffer of MAX_FEATURE_CHARS for the component guid + * szProduct [O] buffer of MAX_FEATURE_CHARS+1 for the product guid + * szFeature [O] buffer of MAX_FEATURE_CHARS+1 for the feature code + * szComponent [O] buffer of MAX_FEATURE_CHARS+1 for the component guid * pUsed [O] the length of the descriptor * * RETURNS -- 2.11.4.GIT