Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 350 of file handle.c.
Referenced by new_key(), new_key_container(), RSAENH_CPCreateHash(), RSAENH_CPDuplicateHash(), and RSAENH_CPDuplicateKey().
{ OBJECTHDR *pObject; HCRYPTKEY hObject; if (ppObject) *ppObject = NULL; pObject = HeapAlloc(GetProcessHeap(), 0, cbSize); if (!pObject) return (HCRYPTKEY)INVALID_HANDLE_VALUE; pObject->dwType = dwType; pObject->refcount = 0; pObject->destructor = destructor; if (!alloc_handle(lpTable, pObject, &hObject)) HeapFree(GetProcessHeap(), 0, pObject); else if (ppObject) *ppObject = pObject; return hObject; }