A "1" is returned not a 1 for AssignmentType. Also as a bit more to
the FIXME message.
This commit is contained in:
parent
0569609e3d
commit
31695b54c9
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue