A "1" is returned not a 1 for AssignmentType. Also as a bit more to

the FIXME message.
This commit is contained in:
Aric Stewart 2005-06-13 19:04:39 +00:00 committed by Alexandre Julliard
parent 0569609e3d
commit 31695b54c9
1 changed files with 5 additions and 2 deletions

View File

@ -574,9 +574,12 @@ UINT WINAPI MsiGetProductInfoW(LPCWSTR szProduct, LPCWSTR szAttribute,
} }
else if (strcmpW(szAttribute, szAssignmentType)==0) else if (strcmpW(szAttribute, szAssignmentType)==0)
{ {
FIXME("0 (zero) if advertised, 1(one) if per machine.\n"); FIXME("0 (zero) if advertised or per user , 1(one) if per machine.\n");
if (szBuffer) if (szBuffer)
szBuffer[0] = 1; {
szBuffer[0] = '1';
szBuffer[1] = 0;
}
if (pcchValueBuf) if (pcchValueBuf)
*pcchValueBuf = 1; *pcchValueBuf = 1;
r = ERROR_SUCCESS; r = ERROR_SUCCESS;