Skip to content
Snippets Groups Projects
Commit be82f977 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard
Browse files

Initialize the hkey member when creating the propery bag object.

parent 033276b6
Branches
Tags
No related merge requests found
......@@ -277,6 +277,7 @@ static HRESULT DEVENUM_IPropertyBag_Construct(HANDLE hkey, IPropertyBag **ppBag)
return E_OUTOFMEMORY;
rpb->lpVtbl = &IPropertyBag_Vtbl;
rpb->ref = 1;
rpb->hkey = hkey;
*ppBag = (IPropertyBag*)rpb;
DEVENUM_LockModule();
return S_OK;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment