We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f42d58 commit 9c38fedCopy full SHA for 9c38fed
src/wintoastlib.cpp
@@ -360,8 +360,8 @@ namespace Util {
360
hr = replyHandle.As(&replyMap);
361
362
if (SUCCEEDED(hr)) {
363
- IInspectable* propertySet;
364
- hr = replyMap.Get()->Lookup(WinToastStringWrapper(L"textBox").Get(), &propertySet);
+ ComPtr<IInspectable> propertySet;
+ hr = replyMap.Get()->Lookup(WinToastStringWrapper(L"textBox").Get(), propertySet.GetAddressOf());
365
366
ComPtr<IPropertyValue> propertyValue;
367
hr = propertySet->QueryInterface(IID_PPV_ARGS(&propertyValue));
0 commit comments