Commit 0de0d113 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

Windows. Update the documentation accordingly.
parent d78fa96e
......@@ -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
......
......@@ -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()
......@@ -95,7 +95,7 @@ BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
}
/***********************************************************************
* DllCanUnloadNow (DPLAYX.10)
* DllCanUnloadNow (DPLAYX.@)
*/
HRESULT WINAPI DllCanUnloadNow(void)
{
......
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()
......@@ -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.@)
*
*
*/
......
......@@ -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)
{
......
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()
......@@ -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)
{
......
......@@ -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.
*
......
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()
......@@ -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)
{
......
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