Change some Dll* functions so they are exported by name like on

Windows.
Update the documentation accordingly.
This commit is contained in:
Francois Gouget 2005-08-10 13:02:43 +00:00 committed by Alexandre Julliard
parent d78fa96e0f
commit 0de0d11357
11 changed files with 31 additions and 27 deletions

View File

@ -101,7 +101,7 @@ static IClassFactoryImpl DP_and_DPL_CF = {&DP_and_DPL_Vtbl, 1 };
/*******************************************************************************
* DllGetClassObject [DPLAYX.11]
* DllGetClassObject [DPLAYX.@]
* Retrieves DP or DPL class object from a DLL object
*
* NOTES

View File

@ -5,7 +5,8 @@
5 stdcall DirectPlayLobbyCreateW(ptr ptr ptr ptr long)
6 extern gdwDPlaySPRefCount
9 stdcall DirectPlayEnumerate(ptr ptr) DirectPlayEnumerateA
10 stdcall -private DllCanUnloadNow()
11 stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()

View File

@ -95,7 +95,7 @@ BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
}
/***********************************************************************
* DllCanUnloadNow (DPLAYX.10)
* DllCanUnloadNow (DPLAYX.@)
*/
HRESULT WINAPI DllCanUnloadNow(void)
{

View File

@ -1,5 +1,6 @@
1 stub DirectPlayNATHelpCreate
2 stdcall -private DllRegisterServer()
3 stdcall -private DllCanUnloadNow()
4 stdcall -private DllGetClassObject(ptr ptr ptr)
5 stdcall -private DllUnregisterServer()
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()

View File

@ -63,7 +63,7 @@ HRESULT WINAPI DPNHPAST_DirectPlayNATHelpCreate()
/******************************************************************
* DllRegisterServer (DPNHPAST.2)
* DllRegisterServer (DPNHPAST.@)
*
*
*/
@ -75,7 +75,7 @@ HRESULT WINAPI DllRegisterServer(void)
/******************************************************************
* DllCanUnloadNow (DPNHPAST.3)
* DllCanUnloadNow (DPNHPAST.@)
*
*
*/
@ -87,7 +87,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
/******************************************************************
* DllGetClassObject (DPNHPAST.4)
* DllGetClassObject (DPNHPAST.@)
*
*
*/
@ -99,7 +99,7 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
/******************************************************************
* DllUnregisterServer (DPNHPAST.5)
* DllUnregisterServer (DPNHPAST.@)
*
*
*/

View File

@ -1340,7 +1340,7 @@ static const IClassFactoryVtbl MsiCF_Vtbl =
static IClassFactoryImpl Msi_CF = { &MsiCF_Vtbl };
/******************************************************************
* DllGetClassObject [MSI.2]
* DllGetClassObject [MSI.@]
*/
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{

View File

@ -1,7 +1,3 @@
1 stdcall -private DllCanUnloadNow()
2 stdcall -private DllGetClassObject(ptr ptr ptr)
3 stdcall -private DllRegisterServer()
4 stdcall -private DllUnregisterServer()
5 stdcall MsiAdvertiseProductA(str str str long)
6 stdcall MsiAdvertiseProductW(wstr wstr wstr long)
7 stdcall MsiCloseAllHandles()
@ -234,3 +230,8 @@
234 stub MsiDeleteUserDataW
235 stub Migrate10CachedPackagesA
236 stub Migrate10CachedPackagesW
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()

View File

@ -596,7 +596,7 @@ static struct regsvr_interface const interface_list[] = {
};
/***********************************************************************
* DllRegisterServer
* DllRegisterServer (MSI.@)
*/
HRESULT WINAPI DllRegisterServer(void)
{
@ -611,7 +611,7 @@ HRESULT WINAPI DllRegisterServer(void)
}
/***********************************************************************
* DllUnregisterServer
* DllUnregisterServer (MSI.@)
*/
HRESULT WINAPI DllUnregisterServer(void)
{

View File

@ -700,7 +700,7 @@ extern void _get_STDFONT_CF(LPVOID);
extern void _get_STDPIC_CF(LPVOID);
/***********************************************************************
* DllGetClassObject (OLEAUT32.1)
* DllGetClassObject (OLEAUT32.@)
*/
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{
@ -735,7 +735,7 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
}
/***********************************************************************
* DllCanUnloadNow (OLEAUT32.410)
* DllCanUnloadNow (OLEAUT32.@)
*
* Determine if this dll can be unloaded from the callers address space.
*

View File

@ -1,4 +1,3 @@
1 stdcall -private DllGetClassObject(ptr ptr ptr)
2 stdcall SysAllocString(wstr)
3 stdcall SysReAllocString(ptr wstr)
4 stdcall SysAllocStringLen(wstr long)
@ -312,8 +311,6 @@
317 stdcall VarR8Round(double long ptr)
318 stdcall VarCat(ptr ptr ptr)
319 stdcall VarDateFromUdateEx(ptr long long ptr)
320 stdcall -private DllRegisterServer()
321 stdcall -private DllUnregisterServer()
322 stdcall GetRecordInfoFromGuids(ptr long long long ptr ptr)
323 stdcall GetRecordInfoFromTypeInfo(ptr ptr)
325 stub SetVarConversionLocaleSetting
@ -382,7 +379,6 @@
399 stub UserMSG_free_local
401 stdcall OleLoadPictureEx(ptr long long long long long long ptr)
402 stub OleLoadPictureFileEx
410 stdcall -private DllCanUnloadNow()
411 stdcall SafeArrayCreateVector(long long long)
412 stdcall SafeArrayCopyData(ptr ptr)
413 stdcall VectorFromBstr(ptr ptr)
@ -414,3 +410,8 @@
439 stdcall VarUI8FromUI2(long ptr)
440 stdcall VarUI8FromUI4(long ptr)
441 stdcall VarUI8FromDec(long ptr)
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()

View File

@ -901,7 +901,7 @@ static struct regsvr_interface const interface_list[] = {
};
/***********************************************************************
* DllRegisterServer (OLEAUT32.320)
* DllRegisterServer (OLEAUT32.@)
*/
HRESULT WINAPI DllRegisterServer(void)
{
@ -916,7 +916,7 @@ HRESULT WINAPI DllRegisterServer(void)
}
/***********************************************************************
* DllUnregisterServer (OLEAUT32.321)
* DllUnregisterServer (OLEAUT32.@)
*/
HRESULT WINAPI DllUnregisterServer(void)
{