mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 12:40:33 +00:00
- Sync activeds, atl, avifil32, cabinet to Wine-1.1.43.
svn path=/trunk/; revision=46938
This commit is contained in:
parent
cab24c4645
commit
9403f80947
8 changed files with 28 additions and 15 deletions
|
@ -6,7 +6,7 @@
|
|||
8 stub ADsBuildVarArrayInt
|
||||
9 stdcall ADsOpenObject(wstr wstr wstr long ptr ptr)
|
||||
12 stub ADsSetLastError
|
||||
13 stub ADsGetLastError
|
||||
13 stdcall ADsGetLastError(ptr ptr long ptr long)
|
||||
14 stub AllocADsMem
|
||||
15 stdcall FreeADsMem(ptr)
|
||||
16 stub ReallocADsMem
|
||||
|
|
|
@ -94,6 +94,15 @@ HRESULT WINAPI ADsOpenObject(LPCWSTR lpszPathName, LPCWSTR lpszUserName, LPCWSTR
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
/*****************************************************
|
||||
* ADsGetLastError [ACTIVEDS.13]
|
||||
*/
|
||||
HRESULT WINAPI ADsGetLastError(LPDWORD perror, LPWSTR errorbuf, DWORD errorbuflen, LPWSTR namebuf, DWORD namebuflen)
|
||||
{
|
||||
FIXME("(%p,%p,%d,%p,%d)!stub\n", perror, errorbuf, errorbuflen, namebuf, namebuflen);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
/*****************************************************
|
||||
* FreeADsMem [ACTIVEDS.15]
|
||||
*/
|
||||
|
|
|
@ -950,7 +950,7 @@ HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd,
|
|||
TRACE("(%s %p %p %p %p %p %p)\n", debugstr_w(lpszName), hWnd, pStream,
|
||||
ppUnkContainer, ppUnkControl, iidSink, punkSink);
|
||||
|
||||
hRes = CLSIDFromString( (LPOLESTR) lpszName, &controlId );
|
||||
hRes = CLSIDFromString( lpszName, &controlId );
|
||||
if ( FAILED(hRes) )
|
||||
hRes = CLSIDFromProgID( lpszName, &controlId );
|
||||
if ( SUCCEEDED( hRes ) )
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Top level resource file for avifil32.dll
|
||||
*
|
||||
* Copyright 2002 Michael Günnewig
|
||||
* Copyright 2002 Michael Günnewig
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -18,10 +18,6 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winuser.h"
|
||||
#include "winver.h"
|
||||
#include "avifile_private.h"
|
||||
|
||||
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||
|
|
|
@ -77,7 +77,7 @@ THOSE_ZIP_CONSTS;
|
|||
|
||||
struct fdi_file {
|
||||
struct fdi_file *next; /* next file in sequence */
|
||||
LPCSTR filename; /* output name of file */
|
||||
LPSTR filename; /* output name of file */
|
||||
int fh; /* open file handle or NULL */
|
||||
cab_ULONG length; /* uncompressed length of file */
|
||||
cab_ULONG offset; /* uncompressed offset in folder */
|
||||
|
@ -2301,7 +2301,7 @@ static void free_decompression_mem(HFDI hfdi,
|
|||
}
|
||||
while (CAB(firstfile)) {
|
||||
file = CAB(firstfile);
|
||||
if (file->filename) PFDI_FREE(hfdi, (void *)file->filename);
|
||||
if (file->filename) PFDI_FREE(hfdi, file->filename);
|
||||
CAB(firstfile) = CAB(firstfile)->next;
|
||||
PFDI_FREE(hfdi, file);
|
||||
}
|
||||
|
|
|
@ -1566,7 +1566,7 @@ static HRESULT __CLSIDFromString(LPCWSTR s, CLSID *id)
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
HRESULT WINAPI CLSIDFromString(LPOLESTR idstr, CLSID *id )
|
||||
HRESULT WINAPI CLSIDFromString(LPCOLESTR idstr, LPCLSID id )
|
||||
{
|
||||
HRESULT ret;
|
||||
|
||||
|
|
|
@ -225,10 +225,9 @@
|
|||
#define THIS void
|
||||
|
||||
#define interface struct
|
||||
#define DECLARE_INTERFACE(iface) interface iface
|
||||
#define DECLARE_INTERFACE_(iface,ibase) interface iface : public ibase
|
||||
#define DECLARE_INTERFACE_IID(iface, iid) interface DECLSPEC_UUID(iid) iface
|
||||
#define DECLARE_INTERFACE_IID_(iface, baseiface, iid) interface DECLSPEC_UUID(iid) iface : public baseiface
|
||||
#define DECLARE_INTERFACE(iface) interface DECLSPEC_NOVTABLE iface
|
||||
#define DECLARE_INTERFACE_(iface,ibase) interface DECLSPEC_NOVTABLE iface : public ibase
|
||||
#define DECLARE_INTERFACE_IID_(iface, ibase, iid) interface DECLSPEC_UUID(iid) DECLSPEC_NOVTABLE iface : public ibase
|
||||
|
||||
#define BEGIN_INTERFACE
|
||||
#define END_INTERFACE
|
||||
|
@ -268,6 +267,7 @@
|
|||
struct iface##Vtbl
|
||||
#endif
|
||||
#define DECLARE_INTERFACE_(iface,ibase) DECLARE_INTERFACE(iface)
|
||||
#define DECLARE_INTERFACE_IID_(iface, ibase, iid) DECLARE_INTERFACE_(iface, ibase)
|
||||
|
||||
#define BEGIN_INTERFACE
|
||||
#define END_INTERFACE
|
||||
|
@ -431,7 +431,7 @@ HRESULT WINAPI CoWaitForMultipleHandles(DWORD dwFlags,DWORD dwTimeout,ULONG cHan
|
|||
* GUID API
|
||||
*/
|
||||
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR*);
|
||||
HRESULT WINAPI CLSIDFromString(LPOLESTR, CLSID *);
|
||||
HRESULT WINAPI CLSIDFromString(LPCOLESTR, LPCLSID);
|
||||
HRESULT WINAPI CLSIDFromProgID(LPCOLESTR progid, LPCLSID riid);
|
||||
HRESULT WINAPI ProgIDFromCLSID(REFCLSID clsid, LPOLESTR *lplpszProgID);
|
||||
|
||||
|
|
|
@ -63,6 +63,14 @@ extern "C" {
|
|||
#define UNALIGNED
|
||||
#endif
|
||||
|
||||
#ifndef DECLSPEC_NOVTABLE
|
||||
# if defined(_MSC_VER) && (_MSC_VER >= 1100) && defined(__cplusplus)
|
||||
# define DECLSPEC_NOVTABLE __declspec(novtable)
|
||||
# else
|
||||
# define DECLSPEC_NOVTABLE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef DECLSPEC_ADDRSAFE
|
||||
#if (_MSC_VER >= 1200) && (defined(_M_ALPHA) || defined(_M_AXP64))
|
||||
#define DECLSPEC_ADDRSAFE __declspec(address_safe)
|
||||
|
|
Loading…
Reference in a new issue