1 /* DirectShow Editing Services (qedit.dll)
3 * Copyright 2008 Google (Lei Zhang)
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #include "qedit_private.h"
21 #include "wine/debug.h"
23 WINE_DEFAULT_DEBUG_CHANNEL(qedit
);
25 BOOL WINAPI
DllMain(HINSTANCE hInstDLL
, DWORD fdwReason
, LPVOID lpv
)
28 case DLL_PROCESS_ATTACH
:
29 DisableThreadLibraryCalls(hInstDLL
);
31 case DLL_PROCESS_DETACH
:
37 /***********************************************************************
38 * DllCanUnloadNow (QEDIT.@)
40 HRESULT WINAPI
DllCanUnloadNow(void)
45 /*******************************************************************************
46 * DllGetClassObject [QEDIT.@]
47 * Retrieves class object from a DLL object
50 * rclsid [I] CLSID for the class object
51 * riid [I] Reference to identifier of interface for class object
52 * ppv [O] Address of variable to receive interface pointer for riid
56 * Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
57 * E_UNEXPECTED, E_NOINTERFACE
60 HRESULT WINAPI
DllGetClassObject(REFCLSID rclsid
, REFIID riid
, LPVOID
*ppv
)
62 TRACE("(%s,%s,%p)\n", debugstr_guid(rclsid
), debugstr_guid(riid
), ppv
);