qedit: Skeleton implementation of qedit.dll.
This commit is contained in:
parent
a319263230
commit
6de8be71b3
|
@ -380,6 +380,7 @@ ALL_MAKEFILES = \
|
|||
dlls/psapi/tests/Makefile \
|
||||
dlls/pstorec/Makefile \
|
||||
dlls/qcap/Makefile \
|
||||
dlls/qedit/Makefile \
|
||||
dlls/qmgr/Makefile \
|
||||
dlls/qmgrprxy/Makefile \
|
||||
dlls/quartz/Makefile \
|
||||
|
@ -791,6 +792,7 @@ dlls/psapi/Makefile: dlls/psapi/Makefile.in dlls/Makedll.rules
|
|||
dlls/psapi/tests/Makefile: dlls/psapi/tests/Makefile.in dlls/Maketest.rules
|
||||
dlls/pstorec/Makefile: dlls/pstorec/Makefile.in dlls/Makedll.rules
|
||||
dlls/qcap/Makefile: dlls/qcap/Makefile.in dlls/Makedll.rules
|
||||
dlls/qedit/Makefile: dlls/qedit/Makefile.in dlls/Makedll.rules
|
||||
dlls/qmgr/Makefile: dlls/qmgr/Makefile.in dlls/Makedll.rules
|
||||
dlls/qmgrprxy/Makefile: dlls/qmgrprxy/Makefile.in dlls/Makedll.rules
|
||||
dlls/quartz/Makefile: dlls/quartz/Makefile.in dlls/Makedll.rules
|
||||
|
|
|
@ -21611,6 +21611,8 @@ ac_config_files="$ac_config_files dlls/pstorec/Makefile"
|
|||
|
||||
ac_config_files="$ac_config_files dlls/qcap/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files dlls/qedit/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files dlls/qmgr/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
|
||||
|
@ -22747,6 +22749,7 @@ do
|
|||
"dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
|
||||
"dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
|
||||
"dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
|
||||
"dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
|
||||
"dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
|
||||
"dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
|
||||
"dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
|
||||
|
|
|
@ -1879,6 +1879,7 @@ AC_CONFIG_FILES([dlls/psapi/Makefile])
|
|||
AC_CONFIG_FILES([dlls/psapi/tests/Makefile])
|
||||
AC_CONFIG_FILES([dlls/pstorec/Makefile])
|
||||
AC_CONFIG_FILES([dlls/qcap/Makefile])
|
||||
AC_CONFIG_FILES([dlls/qedit/Makefile])
|
||||
AC_CONFIG_FILES([dlls/qmgr/Makefile])
|
||||
AC_CONFIG_FILES([dlls/qmgrprxy/Makefile])
|
||||
AC_CONFIG_FILES([dlls/quartz/Makefile])
|
||||
|
|
|
@ -184,6 +184,7 @@ BASEDIRS = \
|
|||
psapi \
|
||||
pstorec \
|
||||
qcap \
|
||||
qedit \
|
||||
qmgr \
|
||||
qmgrprxy \
|
||||
quartz \
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = qedit.dll
|
||||
IMPORTS = kernel32
|
||||
EXTRALIBS =
|
||||
|
||||
C_SRCS = \
|
||||
main.c \
|
||||
regsvr.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
@DEPENDENCIES@ # everything below this line is overwritten by make depend
|
|
@ -0,0 +1,65 @@
|
|||
/* DirectShow Editing Services (qedit.dll)
|
||||
*
|
||||
* Copyright 2008 Google (Lei Zhang)
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "qedit_private.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(qedit);
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
|
||||
{
|
||||
switch(fdwReason) {
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(hInstDLL);
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* DllCanUnloadNow (QEDIT.@)
|
||||
*/
|
||||
HRESULT WINAPI DllCanUnloadNow(void)
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
* DllGetClassObject [QEDIT.@]
|
||||
* Retrieves class object from a DLL object
|
||||
*
|
||||
* PARAMS
|
||||
* rclsid [I] CLSID for the class object
|
||||
* riid [I] Reference to identifier of interface for class object
|
||||
* ppv [O] Address of variable to receive interface pointer for riid
|
||||
*
|
||||
* RETURNS
|
||||
* Success: S_OK
|
||||
* Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
|
||||
* E_UNEXPECTED, E_NOINTERFACE
|
||||
*/
|
||||
|
||||
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
|
||||
{
|
||||
TRACE("(%s,%s,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
@ stdcall -private DllCanUnloadNow()
|
||||
@ stdcall -private DllGetClassObject(ptr ptr ptr)
|
||||
@ stdcall -private DllRegisterServer()
|
||||
@ stdcall -private DllUnregisterServer()
|
|
@ -0,0 +1,37 @@
|
|||
/* DirectShow Editing Services (qedit.dll)
|
||||
*
|
||||
* Copyright 2008 Google (Lei Zhang)
|
||||
*
|
||||
* This file contains the (internal) driver registration functions,
|
||||
* driver enumeration APIs and DirectDraw creation functions.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef __QEDIT_PRIVATE_INCLUDED__
|
||||
#define __QEDIT_PRIVATE_INCLUDED__
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define COBJMACROS
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "wtypes.h"
|
||||
#include "wingdi.h"
|
||||
#include "winuser.h"
|
||||
#include "dshow.h"
|
||||
|
||||
#endif /* __QEDIT_PRIVATE_INCLUDED__ */
|
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
* self-registerable dll functions for qedit.dll
|
||||
*
|
||||
* Copyright (C) 2008 Google (Lei Zhang)
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "winerror.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(qedit);
|
||||
|
||||
/***********************************************************************
|
||||
* DllRegisterServer (QEDIT.@)
|
||||
*/
|
||||
HRESULT WINAPI DllRegisterServer(void)
|
||||
{
|
||||
TRACE("\n");
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* DllUnregisterServer (QEDIT.@)
|
||||
*/
|
||||
HRESULT WINAPI DllUnregisterServer(void)
|
||||
{
|
||||
TRACE("\n");
|
||||
|
||||
return S_OK;
|
||||
}
|
Loading…
Reference in New Issue