ReactOS 0.4.16-dev-321-g63bb46a
activeds_main.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "objbase.h"
#include "iads.h"
#include "adshlp.h"
#include "wine/debug.h"
Include dependency graph for activeds_main.c:

Go to the source code of this file.

Macros

#define COBJMACROS
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (activeds)
 
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 
HRESULT WINAPI ADsGetObject (LPCWSTR lpszPathName, REFIID riid, VOID **ppObject)
 
HRESULT WINAPI ADsBuildEnumerator (IADsContainer *pADsContainer, IEnumVARIANT **ppEnumVariant)
 
HRESULT WINAPI ADsFreeEnumerator (IEnumVARIANT *pEnumVariant)
 
HRESULT WINAPI ADsEnumerateNext (IEnumVARIANT *pEnumVariant, ULONG cElements, VARIANT *pvar, ULONG *pcElementsFetched)
 
HRESULT WINAPI ADsBuildVarArrayStr (LPWSTR *lppPathNames, DWORD dwPathNames, VARIANT *pvar)
 
HRESULT WINAPI ADsBuildVarArrayInt (LPDWORD lpdwObjectTypes, DWORD dwObjectTypes, VARIANT *pvar)
 
HRESULT WINAPI ADsOpenObject (LPCWSTR lpszPathName, LPCWSTR lpszUserName, LPCWSTR lpszPassword, DWORD dwReserved, REFIID riid, VOID **ppObject)
 
VOID WINAPI ADsSetLastError (DWORD dwErr, LPWSTR pszError, LPWSTR pszProvider)
 
HRESULT WINAPI ADsGetLastError (LPDWORD perror, LPWSTR errorbuf, DWORD errorbuflen, LPWSTR namebuf, DWORD namebuflen)
 
LPVOID WINAPI AllocADsMem (DWORD cb)
 
BOOL WINAPI FreeADsMem (LPVOID pMem)
 
LPVOID WINAPI ReallocADsMem (LPVOID pOldMem, DWORD cbOld, DWORD cbNew)
 
LPWSTR WINAPI AllocADsStr (LPWSTR pStr)
 
BOOL WINAPI FreeADsStr (LPWSTR pStr)
 
BOOL WINAPI ReallocADsStr (LPWSTR *ppStr, LPWSTR pStr)
 
HRESULT WINAPI ADsEncodeBinaryData (PBYTE pbSrcData, DWORD dwSrcLen, LPWSTR *ppszDestData)
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 26 of file activeds_main.c.

Function Documentation

◆ ADsBuildEnumerator()

HRESULT WINAPI ADsBuildEnumerator ( IADsContainer pADsContainer,
IEnumVARIANT **  ppEnumVariant 
)

Definition at line 70 of file activeds_main.c.

71{
72 FIXME("(%p)->(%p)!stub\n",pADsContainer, ppEnumVariant);
73 return E_NOTIMPL;
74}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ADsBuildVarArrayInt()

HRESULT WINAPI ADsBuildVarArrayInt ( LPDWORD  lpdwObjectTypes,
DWORD  dwObjectTypes,
VARIANT pvar 
)

Definition at line 106 of file activeds_main.c.

107{
108 FIXME("(%p, %d, %p)!stub\n",lpdwObjectTypes, dwObjectTypes, pvar);
109 return E_NOTIMPL;
110}

◆ ADsBuildVarArrayStr()

HRESULT WINAPI ADsBuildVarArrayStr ( LPWSTR lppPathNames,
DWORD  dwPathNames,
VARIANT pvar 
)

Definition at line 97 of file activeds_main.c.

98{
99 FIXME("(%p, %d, %p)!stub\n",*lppPathNames, dwPathNames, pvar);
100 return E_NOTIMPL;
101}

◆ ADsEncodeBinaryData()

HRESULT WINAPI ADsEncodeBinaryData ( PBYTE  pbSrcData,
DWORD  dwSrcLen,
LPWSTR ppszDestData 
)

Definition at line 196 of file activeds_main.c.

197{
198 FIXME("(%p,%d,%p)!stub\n", pbSrcData, dwSrcLen, *ppszDestData);
199 return E_NOTIMPL;
200}

◆ ADsEnumerateNext()

HRESULT WINAPI ADsEnumerateNext ( IEnumVARIANT pEnumVariant,
ULONG  cElements,
VARIANT pvar,
ULONG pcElementsFetched 
)

Definition at line 88 of file activeds_main.c.

89{
90 FIXME("(%p)->(%u, %p, %p)!stub\n",pEnumVariant, cElements, pvar, pcElementsFetched);
91 return E_NOTIMPL;
92}

◆ ADsFreeEnumerator()

HRESULT WINAPI ADsFreeEnumerator ( IEnumVARIANT pEnumVariant)

Definition at line 79 of file activeds_main.c.

80{
81 FIXME("(%p)!stub\n",pEnumVariant);
82 return E_NOTIMPL;
83}

◆ ADsGetLastError()

HRESULT WINAPI ADsGetLastError ( LPDWORD  perror,
LPWSTR  errorbuf,
DWORD  errorbuflen,
LPWSTR  namebuf,
DWORD  namebuflen 
)

Definition at line 133 of file activeds_main.c.

134{
135 FIXME("(%p,%p,%d,%p,%d)!stub\n", perror, errorbuf, errorbuflen, namebuf, namebuflen);
136 return E_NOTIMPL;
137}
_CRTIMP void __cdecl perror(_In_opt_z_ const char *_ErrMsg)

◆ ADsGetObject()

HRESULT WINAPI ADsGetObject ( LPCWSTR  lpszPathName,
REFIID  riid,
VOID **  ppObject 
)

Definition at line 61 of file activeds_main.c.

62{
63 FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName), debugstr_guid(riid), ppObject);
64 return E_NOTIMPL;
65}
REFIID riid
Definition: atlbase.h:39
#define debugstr_guid
Definition: kernel32.h:35
#define debugstr_w
Definition: kernel32.h:32

◆ ADsOpenObject()

HRESULT WINAPI ADsOpenObject ( LPCWSTR  lpszPathName,
LPCWSTR  lpszUserName,
LPCWSTR  lpszPassword,
DWORD  dwReserved,
REFIID  riid,
VOID **  ppObject 
)

Definition at line 115 of file activeds_main.c.

116{
117 FIXME("(%s,%s,%u,%s,%p)!stub\n", debugstr_w(lpszPathName),
118 debugstr_w(lpszUserName), dwReserved, debugstr_guid(riid), ppObject);
119 return E_NOTIMPL;
120}
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:95

◆ ADsSetLastError()

VOID WINAPI ADsSetLastError ( DWORD  dwErr,
LPWSTR  pszError,
LPWSTR  pszProvider 
)

Definition at line 125 of file activeds_main.c.

126{
127 FIXME("(%d,%p,%p)!stub\n", dwErr, pszError, pszProvider);
128}
DWORD dwErr
Definition: service.c:36

◆ AllocADsMem()

LPVOID WINAPI AllocADsMem ( DWORD  cb)

Definition at line 142 of file activeds_main.c.

143{
144 FIXME("(%d)!stub\n",cb);
145 return NULL;
146}
#define NULL
Definition: types.h:112
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33

◆ AllocADsStr()

LPWSTR WINAPI AllocADsStr ( LPWSTR  pStr)

Definition at line 169 of file activeds_main.c.

170{
171 FIXME("(%p)!stub\n",pStr);
172 return NULL;
173}

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hinstDLL,
DWORD  fdwReason,
LPVOID  lpvReserved 
)

Definition at line 43 of file activeds_main.c.

44{
45 TRACE("(%p, %d, %p)\n",hinstDLL, fdwReason, lpvReserved);
46
47 switch(fdwReason)
48 {
49 case DLL_WINE_PREATTACH:
50 return FALSE; /* prefer native version */
52 DisableThreadLibraryCalls( hinstDLL );
53 break;
54 }
55 return TRUE;
56}
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
static IN DWORD IN LPVOID lpvReserved
#define TRACE(s)
Definition: solgame.cpp:4

◆ FreeADsMem()

BOOL WINAPI FreeADsMem ( LPVOID  pMem)

Definition at line 151 of file activeds_main.c.

152{
153 FIXME("(%p)!stub\n",pMem);
154 return FALSE;
155}

◆ FreeADsStr()

BOOL WINAPI FreeADsStr ( LPWSTR  pStr)

Definition at line 178 of file activeds_main.c.

179{
180 FIXME("(%p)!stub\n",pStr);
181 return FALSE;
182}

◆ ReallocADsMem()

LPVOID WINAPI ReallocADsMem ( LPVOID  pOldMem,
DWORD  cbOld,
DWORD  cbNew 
)

Definition at line 160 of file activeds_main.c.

161{
162 FIXME("(%p,%d,%d)!stub\n", pOldMem, cbOld, cbNew);
163 return NULL;
164}

◆ ReallocADsStr()

BOOL WINAPI ReallocADsStr ( LPWSTR ppStr,
LPWSTR  pStr 
)

Definition at line 187 of file activeds_main.c.

188{
189 FIXME("(%p,%p)!stub\n",*ppStr, pStr);
190 return FALSE;
191}

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( activeds  )