Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
14a5d71f
Commit
14a5d71f
authored
Feb 07, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
activeds: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
89a837c4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
21 deletions
+20
-21
Makefile.in
dlls/activeds/Makefile.in
+0
-1
activeds_main.c
dlls/activeds/activeds_main.c
+7
-7
pathname.c
dlls/activeds/pathname.c
+13
-13
No files found.
dlls/activeds/Makefile.in
View file @
14a5d71f
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
activeds.dll
IMPORTLIB
=
activeds
IMPORTS
=
advapi32 ole32 oleaut32 uuid
...
...
dlls/activeds/activeds_main.c
View file @
14a5d71f
...
...
@@ -76,7 +76,7 @@ HRESULT WINAPI ADsFreeEnumerator(IEnumVARIANT* pEnumVariant)
*/
HRESULT
WINAPI
ADsEnumerateNext
(
IEnumVARIANT
*
pEnumVariant
,
ULONG
cElements
,
VARIANT
*
pvar
,
ULONG
*
pcElementsFetched
)
{
FIXME
(
"(%p)->(%u, %p, %p)!stub
\n
"
,
pEnumVariant
,
cElements
,
pvar
,
pcElementsFetched
);
FIXME
(
"(%p)->(%
l
u, %p, %p)!stub
\n
"
,
pEnumVariant
,
cElements
,
pvar
,
pcElementsFetched
);
return
E_NOTIMPL
;
}
...
...
@@ -89,7 +89,7 @@ HRESULT WINAPI ADsBuildVarArrayStr(LPWSTR *str, DWORD count, VARIANT *var)
SAFEARRAY
*
sa
;
LONG
idx
,
end
=
count
;
TRACE
(
"(%p, %u, %p)
\n
"
,
str
,
count
,
var
);
TRACE
(
"(%p, %
l
u, %p)
\n
"
,
str
,
count
,
var
);
if
(
!
var
)
return
E_ADS_BAD_PARAMETER
;
...
...
@@ -128,7 +128,7 @@ fail:
*/
HRESULT
WINAPI
ADsBuildVarArrayInt
(
LPDWORD
lpdwObjectTypes
,
DWORD
dwObjectTypes
,
VARIANT
*
pvar
)
{
FIXME
(
"(%p, %d, %p)!stub
\n
"
,
lpdwObjectTypes
,
dwObjectTypes
,
pvar
);
FIXME
(
"(%p, %
l
d, %p)!stub
\n
"
,
lpdwObjectTypes
,
dwObjectTypes
,
pvar
);
return
E_NOTIMPL
;
}
...
...
@@ -142,7 +142,7 @@ HRESULT WINAPI ADsOpenObject(LPCWSTR path, LPCWSTR user, LPCWSTR password, DWORD
WCHAR
provider
[
MAX_PATH
],
progid
[
MAX_PATH
];
DWORD
idx
=
0
;
TRACE
(
"(%s,%s,%u,%s,%p)
\n
"
,
debugstr_w
(
path
),
debugstr_w
(
user
),
reserved
,
debugstr_guid
(
riid
),
obj
);
TRACE
(
"(%s,%s,%
l
u,%s,%p)
\n
"
,
debugstr_w
(
path
),
debugstr_w
(
user
),
reserved
,
debugstr_guid
(
riid
),
obj
);
if
(
!
path
||
!
riid
||
!
obj
)
return
E_INVALIDARG
;
...
...
@@ -216,7 +216,7 @@ HRESULT WINAPI ADsOpenObject(LPCWSTR path, LPCWSTR user, LPCWSTR password, DWORD
*/
VOID
WINAPI
ADsSetLastError
(
DWORD
dwErr
,
LPWSTR
pszError
,
LPWSTR
pszProvider
)
{
FIXME
(
"(%d,%p,%p)!stub
\n
"
,
dwErr
,
pszError
,
pszProvider
);
FIXME
(
"(%
l
d,%p,%p)!stub
\n
"
,
dwErr
,
pszError
,
pszProvider
);
}
/*****************************************************
...
...
@@ -224,7 +224,7 @@ VOID WINAPI ADsSetLastError(DWORD dwErr, LPWSTR pszError, LPWSTR pszProvider)
*/
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
);
FIXME
(
"(%p,%p,%
ld,%p,%l
d)!stub
\n
"
,
perror
,
errorbuf
,
errorbuflen
,
namebuf
,
namebuflen
);
return
E_NOTIMPL
;
}
...
...
@@ -295,6 +295,6 @@ BOOL WINAPI ReallocADsStr(LPWSTR *ppStr, LPWSTR pStr)
*/
HRESULT
WINAPI
ADsEncodeBinaryData
(
PBYTE
pbSrcData
,
DWORD
dwSrcLen
,
LPWSTR
*
ppszDestData
)
{
FIXME
(
"(%p,%d,%p)!stub
\n
"
,
pbSrcData
,
dwSrcLen
,
*
ppszDestData
);
FIXME
(
"(%p,%
l
d,%p)!stub
\n
"
,
pbSrcData
,
dwSrcLen
,
*
ppszDestData
);
return
E_NOTIMPL
;
}
dlls/activeds/pathname.c
View file @
14a5d71f
...
...
@@ -98,21 +98,21 @@ static HRESULT WINAPI path_GetTypeInfoCount(IADsPathname *iface, UINT *count)
static
HRESULT
WINAPI
path_GetTypeInfo
(
IADsPathname
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%#x,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%#
l
x,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
path_GetIDsOfNames
(
IADsPathname
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
path_Invoke
(
IADsPathname
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -180,7 +180,7 @@ static HRESULT WINAPI path_Set(IADsPathname *iface, BSTR adspath, LONG type)
HRESULT
hr
;
BSTR
provider
,
server
,
dn
;
TRACE
(
"%p,%s,%d
\n
"
,
iface
,
debugstr_w
(
adspath
),
type
);
TRACE
(
"%p,%s,%
l
d
\n
"
,
iface
,
debugstr_w
(
adspath
),
type
);
if
(
!
adspath
)
return
E_INVALIDARG
;
...
...
@@ -207,7 +207,7 @@ static HRESULT WINAPI path_Set(IADsPathname *iface, BSTR adspath, LONG type)
if
(
type
!=
ADS_SETTYPE_FULL
)
{
FIXME
(
"type %d not implemented
\n
"
,
type
);
FIXME
(
"type %
l
d not implemented
\n
"
,
type
);
return
E_INVALIDARG
;
}
...
...
@@ -227,7 +227,7 @@ static HRESULT WINAPI path_Set(IADsPathname *iface, BSTR adspath, LONG type)
static
HRESULT
WINAPI
path_SetDisplayType
(
IADsPathname
*
iface
,
LONG
type
)
{
FIXME
(
"%p,%d: stub
\n
"
,
iface
,
type
);
FIXME
(
"%p,%
l
d: stub
\n
"
,
iface
,
type
);
return
E_NOTIMPL
;
}
...
...
@@ -236,14 +236,14 @@ static HRESULT WINAPI path_Retrieve(IADsPathname *iface, LONG type, BSTR *adspat
Pathname
*
path
=
impl_from_IADsPathname
(
iface
);
int
len
;
TRACE
(
"%p,%d,%p
\n
"
,
iface
,
type
,
adspath
);
TRACE
(
"%p,%
l
d,%p
\n
"
,
iface
,
type
,
adspath
);
if
(
!
adspath
)
return
E_INVALIDARG
;
switch
(
type
)
{
default:
FIXME
(
"type %d not implemented
\n
"
,
type
);
FIXME
(
"type %
l
d not implemented
\n
"
,
type
);
/* fall through */
case
ADS_FORMAT_X500
:
...
...
@@ -320,7 +320,7 @@ static HRESULT WINAPI path_GetElement(IADsPathname *iface, LONG index, BSTR *ele
WCHAR
*
p
,
*
end
;
LONG
count
;
TRACE
(
"%p,%d,%p
\n
"
,
iface
,
index
,
element
);
TRACE
(
"%p,%
l
d,%p
\n
"
,
iface
,
index
,
element
);
if
(
!
element
)
return
E_INVALIDARG
;
...
...
@@ -366,7 +366,7 @@ static HRESULT WINAPI path_CopyPath(IADsPathname *iface, IDispatch **path)
static
HRESULT
WINAPI
path_GetEscapedElement
(
IADsPathname
*
iface
,
LONG
reserved
,
BSTR
element
,
BSTR
*
str
)
{
FIXME
(
"%p,%d,%s,%p: stub
\n
"
,
iface
,
reserved
,
debugstr_w
(
element
),
str
);
FIXME
(
"%p,%
l
d,%s,%p: stub
\n
"
,
iface
,
reserved
,
debugstr_w
(
element
),
str
);
return
E_NOTIMPL
;
}
...
...
@@ -378,7 +378,7 @@ static HRESULT WINAPI path_get_EscapedMode(IADsPathname *iface, LONG *mode)
static
HRESULT
WINAPI
path_put_EscapedMode
(
IADsPathname
*
iface
,
LONG
mode
)
{
FIXME
(
"%p,%d: stub
\n
"
,
iface
,
mode
);
FIXME
(
"%p,%
l
d: stub
\n
"
,
iface
,
mode
);
return
E_NOTIMPL
;
}
...
...
@@ -469,7 +469,7 @@ static ULONG WINAPI factory_AddRef(IClassFactory *iface)
class_factory
*
factory
=
impl_from_IClassFactory
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
factory
->
ref
);
TRACE
(
"(%p) ref %u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) ref %
l
u
\n
"
,
iface
,
ref
);
return
ref
;
}
...
...
@@ -479,7 +479,7 @@ static ULONG WINAPI factory_Release(IClassFactory *iface)
class_factory
*
factory
=
impl_from_IClassFactory
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
factory
->
ref
);
TRACE
(
"(%p) ref %u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) ref %
l
u
\n
"
,
iface
,
ref
);
if
(
!
ref
)
heap_free
(
factory
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment