Commit 65f20821 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Add missing WINAPI to MSXML_DllGetClassObject().

Standardize the DllGetClassObject() prototypes so they match the MSDN definition.
parent 67630657
...@@ -167,7 +167,7 @@ static const IClassFactoryVtbl DSCF_Vtbl = ...@@ -167,7 +167,7 @@ static const IClassFactoryVtbl DSCF_Vtbl =
* Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG, * Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
* E_UNEXPECTED * E_UNEXPECTED
*/ */
DWORD WINAPI AMSTREAM_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI AMSTREAM_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
int i; int i;
IClassFactoryImpl *factory; IClassFactoryImpl *factory;
......
...@@ -182,7 +182,7 @@ LPCWSTR AVIFILE_BasenameW(LPCWSTR szPath) ...@@ -182,7 +182,7 @@ LPCWSTR AVIFILE_BasenameW(LPCWSTR szPath)
/*********************************************************************** /***********************************************************************
* DllGetClassObject (AVIFIL32.@) * DllGetClassObject (AVIFIL32.@)
*/ */
HRESULT WINAPI AVIFILE_DllGetClassObject(const CLSID* pclsid,REFIID piid,LPVOID *ppv) HRESULT WINAPI AVIFILE_DllGetClassObject(REFCLSID pclsid, REFIID piid, LPVOID *ppv)
{ {
TRACE("(%s,%s,%p)\n", debugstr_guid(pclsid), debugstr_guid(piid), ppv); TRACE("(%s,%s,%p)\n", debugstr_guid(pclsid), debugstr_guid(piid), ppv);
......
...@@ -183,7 +183,7 @@ HRESULT WINAPI DirectXFileCreate(LPDIRECTXFILE* lplpDirectXFile) ...@@ -183,7 +183,7 @@ HRESULT WINAPI DirectXFileCreate(LPDIRECTXFILE* lplpDirectXFile)
* Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG, * Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
* E_UNEXPECTED * E_UNEXPECTED
*/ */
DWORD WINAPI D3DXOF_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI D3DXOF_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
int i; int i;
IClassFactoryImpl *factory; IClassFactoryImpl *factory;
......
...@@ -560,7 +560,7 @@ static const IClassFactoryVtbl DDCF_Vtbl = ...@@ -560,7 +560,7 @@ static const IClassFactoryVtbl DDCF_Vtbl =
* Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG, * Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
* E_UNEXPECTED * E_UNEXPECTED
*/ */
DWORD WINAPI DDRAW_DllGetClassObject(REFCLSID rclsid,REFIID riid,LPVOID *ppv) HRESULT WINAPI DDRAW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
unsigned int i; unsigned int i;
IClassFactoryImpl *factory; IClassFactoryImpl *factory;
......
...@@ -117,7 +117,7 @@ static IClassFactoryImpl DP_and_DPL_CF = {&DP_and_DPL_Vtbl, 1 }; ...@@ -117,7 +117,7 @@ static IClassFactoryImpl DP_and_DPL_CF = {&DP_and_DPL_Vtbl, 1 };
* Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG, * Failure: CLASS_E_CLASSNOTAVAILABLE, E_OUTOFMEMORY, E_INVALIDARG,
* E_UNEXPECTED * E_UNEXPECTED
*/ */
DWORD WINAPI DPLAYX_DllGetClassObject(REFCLSID rclsid,REFIID riid,LPVOID *ppv) HRESULT WINAPI DPLAYX_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
TRACE("(%p,%p,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv); TRACE("(%p,%p,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
......
...@@ -93,7 +93,7 @@ HRESULT WINAPI MSISYS_DllCanUnloadNow(void) ...@@ -93,7 +93,7 @@ HRESULT WINAPI MSISYS_DllCanUnloadNow(void)
* DllGetClassObject (MSISYS.@) * DllGetClassObject (MSISYS.@)
*/ */
HRESULT WINAPI MSISYS_DllGetClassObject( HRESULT WINAPI MSISYS_DllGetClassObject(
const CLSID* pclsid,const IID* piid,void** ppv) REFCLSID pclsid, const IID* piid, LPVOID *ppv)
{ {
FIXME("\n"); FIXME("\n");
......
...@@ -127,7 +127,7 @@ const struct IClassFactoryVtbl xmlcf_vtbl = ...@@ -127,7 +127,7 @@ const struct IClassFactoryVtbl xmlcf_vtbl =
static xmlcf domdoccf = { &xmlcf_vtbl, DOMDocument_create }; static xmlcf domdoccf = { &xmlcf_vtbl, DOMDocument_create };
HRESULT MSXML_DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv ) HRESULT WINAPI MSXML_DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
{ {
IClassFactory *cf = NULL; IClassFactory *cf = NULL;
......
...@@ -199,7 +199,7 @@ static const IClassFactoryVtbl CF_Vtbl = ...@@ -199,7 +199,7 @@ static const IClassFactoryVtbl CF_Vtbl =
* E_UNEXPECTED * E_UNEXPECTED
*/ */
DWORD WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) HRESULT WINAPI URLMON_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{ {
int i; int i;
IClassFactoryImpl *factory; IClassFactoryImpl *factory;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment