ReactOS  0.4.14-dev-98-gb0d4763
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/unicode.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 71 of file activeds_main.c.

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

◆ ADsBuildVarArrayInt()

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

Definition at line 107 of file activeds_main.c.

108 {
109  FIXME("(%p, %d, %p)!stub\n",lpdwObjectTypes, dwObjectTypes, pvar);
110  return E_NOTIMPL;
111 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ADsBuildVarArrayStr()

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

Definition at line 98 of file activeds_main.c.

99 {
100  FIXME("(%p, %d, %p)!stub\n",*lppPathNames, dwPathNames, pvar);
101  return E_NOTIMPL;
102 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ADsEncodeBinaryData()

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

Definition at line 197 of file activeds_main.c.

198 {
199  FIXME("(%p,%d,%p)!stub\n", pbSrcData, dwSrcLen, *ppszDestData);
200  return E_NOTIMPL;
201 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ADsEnumerateNext()

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

Definition at line 89 of file activeds_main.c.

90 {
91  FIXME("(%p)->(%u, %p, %p)!stub\n",pEnumVariant, cElements, pvar, pcElementsFetched);
92  return E_NOTIMPL;
93 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ADsFreeEnumerator()

HRESULT WINAPI ADsFreeEnumerator ( IEnumVARIANT pEnumVariant)

Definition at line 80 of file activeds_main.c.

81 {
82  FIXME("(%p)!stub\n",pEnumVariant);
83  return E_NOTIMPL;
84 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ADsGetLastError()

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

Definition at line 134 of file activeds_main.c.

135 {
136  FIXME("(%p,%p,%d,%p,%d)!stub\n", perror, errorbuf, errorbuflen, namebuf, namebuflen);
137  return E_NOTIMPL;
138 }
_CRTIMP void __cdecl perror(_In_opt_z_ const char *_ErrMsg)
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ADsGetObject()

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

Definition at line 62 of file activeds_main.c.

63 {
64  FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName), debugstr_guid(riid), ppObject);
65  return E_NOTIMPL;
66 }
REFIID riid
Definition: precomp.h:44
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_guid
Definition: kernel32.h:35
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ADsOpenObject()

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

Definition at line 116 of file activeds_main.c.

117 {
118  FIXME("(%s,%s,%u,%s,%p)!stub\n", debugstr_w(lpszPathName),
119  debugstr_w(lpszUserName), dwReserved, debugstr_guid(riid), ppObject);
120  return E_NOTIMPL;
121 }
REFIID riid
Definition: precomp.h:44
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:90
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_guid
Definition: kernel32.h:35
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ADsSetLastError()

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

Definition at line 126 of file activeds_main.c.

127 {
128  FIXME("(%d,%p,%p)!stub\n", dwErr, pszError, pszProvider);
129 }
#define FIXME(fmt,...)
Definition: debug.h:110
DWORD dwErr
Definition: service.c:36

◆ AllocADsMem()

LPVOID WINAPI AllocADsMem ( DWORD  cb)

Definition at line 143 of file activeds_main.c.

144 {
145  FIXME("(%d)!stub\n",cb);
146  return NULL;
147 }
#define FIXME(fmt,...)
Definition: debug.h:110
smooth NULL
Definition: ftsmooth.c:416
static DWORD cb
Definition: integrity.c:41

◆ AllocADsStr()

LPWSTR WINAPI AllocADsStr ( LPWSTR  pStr)

Definition at line 170 of file activeds_main.c.

171 {
172  FIXME("(%p)!stub\n",pStr);
173  return NULL;
174 }
#define FIXME(fmt,...)
Definition: debug.h:110
smooth NULL
Definition: ftsmooth.c:416

◆ DllMain()

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

Definition at line 44 of file activeds_main.c.

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

◆ FreeADsMem()

BOOL WINAPI FreeADsMem ( LPVOID  pMem)

Definition at line 152 of file activeds_main.c.

153 {
154  FIXME("(%p)!stub\n",pMem);
155  return FALSE;
156 }
#define FIXME(fmt,...)
Definition: debug.h:110

◆ FreeADsStr()

BOOL WINAPI FreeADsStr ( LPWSTR  pStr)

Definition at line 179 of file activeds_main.c.

180 {
181  FIXME("(%p)!stub\n",pStr);
182  return FALSE;
183 }
#define FIXME(fmt,...)
Definition: debug.h:110

◆ ReallocADsMem()

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

Definition at line 161 of file activeds_main.c.

162 {
163  FIXME("(%p,%d,%d)!stub\n", pOldMem, cbOld, cbNew);
164  return NULL;
165 }
#define FIXME(fmt,...)
Definition: debug.h:110
smooth NULL
Definition: ftsmooth.c:416

◆ ReallocADsStr()

BOOL WINAPI ReallocADsStr ( LPWSTR ppStr,
LPWSTR  pStr 
)

Definition at line 188 of file activeds_main.c.

189 {
190  FIXME("(%p,%p)!stub\n",*ppStr, pStr);
191  return FALSE;
192 }
#define FIXME(fmt,...)
Definition: debug.h:110

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( activeds  )