Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 64 of file qmgr.c.
{ BackgroundCopyManagerImpl * This = (BackgroundCopyManagerImpl *) iface; BackgroundCopyJobImpl *job; HRESULT hres; TRACE("\n"); hres = BackgroundCopyJobConstructor(DisplayName, Type, pJobId, (LPVOID *) ppJob); if (FAILED(hres)) return hres; /* Add a reference to the job to job list */ IBackgroundCopyJob_AddRef(*ppJob); job = (BackgroundCopyJobImpl *) *ppJob; EnterCriticalSection(&This->cs); list_add_head(&This->jobs, &job->entryFromQmgr); LeaveCriticalSection(&This->cs); return S_OK; }