13 Dec
2009
13 Dec
'09
9:13 p.m.
Hi Aric, On 12/11/09 10:44 PM, Aric Stewart wrote:
--- dlls/shlwapi/ordinal.c | 25 +++++++++++++++++++++++++ dlls/shlwapi/shlwapi.spec | 2 +- 2 files changed, 26 insertions(+), 1 deletions(-)
+ hr = IPropertyBag_Read(ppb, pszPropName,&var, NULL); + if (SUCCEEDED(hr)) + *pValue = V_I4(&var); You should make sure that var is of VT_I4 type and return an error or do conversion if it's not. Thanks, Jacek