ReactOS  0.4.15-dev-1397-g19779b3
query_main.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "winreg.h"
#include "ole2.h"
#include "ntquery.h"
#include "cierror.h"
#include "initguid.h"
#include "wine/debug.h"
Include dependency graph for query_main.c:

Go to the source code of this file.

Macros

#define COBJMACROS
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (query)
 
BOOL WINAPI DllMain (HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
 
HRESULT WINAPI DllGetClassObject (REFCLSID rclsid, REFIID iid, LPVOID *ppv)
 
HRESULT WINAPI DllCanUnloadNow (void)
 
HRESULT WINAPI DllRegisterServer (void)
 
HRESULT WINAPI CIState (WCHAR const *pwcsCat, WCHAR const *pwcsMachine, CI_STATE *pCiState)
 
HRESULT WINAPI LocateCatalogsA (CHAR const *pwszScope, ULONG iBm, CHAR *pwszMachine, ULONG *pcMachine, CHAR *pwszCat, ULONG *pcCat)
 
HRESULT WINAPI LocateCatalogsW (WCHAR const *pwszScope, ULONG iBm, WCHAR *pwszMachine, ULONG *pcMachine, WCHAR *pwszCat, ULONG *pcCat)
 
HRESULT WINAPI LoadIFilter (WCHAR const *pwcsPath, IUnknown *pUnkOuter, void **ppIUnk)
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 21 of file query_main.c.

Function Documentation

◆ CIState()

HRESULT WINAPI CIState ( WCHAR const pwcsCat,
WCHAR const pwcsMachine,
CI_STATE pCiState 
)

Definition at line 73 of file query_main.c.

74 {
75  FIXME("%s %s %p\n", debugstr_w(pwcsCat), debugstr_w(pwcsMachine), pCiState);
76  return CI_E_NOT_RUNNING;
77 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:111
#define CI_E_NOT_RUNNING
Definition: cierror.h:42

◆ DllCanUnloadNow()

HRESULT WINAPI DllCanUnloadNow ( void  )

Definition at line 62 of file query_main.c.

63 {
64  return S_FALSE;
65 }
#define S_FALSE
Definition: winerror.h:2357

◆ DllGetClassObject()

HRESULT WINAPI DllGetClassObject ( REFCLSID  rclsid,
REFIID  iid,
LPVOID ppv 
)

Definition at line 55 of file query_main.c.

56 {
57  FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv);
58 
60 }
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define CLASS_E_CLASSNOTAVAILABLE
Definition: winerror.h:2663
#define FIXME(fmt,...)
Definition: debug.h:111
#define debugstr_guid
Definition: kernel32.h:35

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hInstDLL,
DWORD  fdwReason,
LPVOID  lpv 
)

Definition at line 39 of file query_main.c.

40 {
41  switch(fdwReason)
42  {
43  case DLL_WINE_PREATTACH:
44  return FALSE; /* prefer native version */
45  case DLL_PROCESS_ATTACH:
46  DisableThreadLibraryCalls(hInstDLL);
47  break;
48  }
49  return TRUE;
50 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define FALSE
Definition: types.h:117

◆ DllRegisterServer()

HRESULT WINAPI DllRegisterServer ( void  )

Definition at line 67 of file query_main.c.

68 {
69  FIXME("\n");
70  return S_OK;
71 }
#define FIXME(fmt,...)
Definition: debug.h:111
#define S_OK
Definition: intsafe.h:51

◆ LoadIFilter()

HRESULT WINAPI LoadIFilter ( WCHAR const pwcsPath,
IUnknown pUnkOuter,
void **  ppIUnk 
)

Definition at line 99 of file query_main.c.

100 {
101  FIXME("%s %p %p\n", debugstr_w(pwcsPath), pUnkOuter, ppIUnk);
102  *ppIUnk = NULL;
103  return E_NOTIMPL;
104 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99
#define NULL
Definition: types.h:112

◆ LocateCatalogsA()

HRESULT WINAPI LocateCatalogsA ( CHAR const pwszScope,
ULONG  iBm,
CHAR pwszMachine,
ULONG pcMachine,
CHAR pwszCat,
ULONG pcCat 
)

Definition at line 79 of file query_main.c.

82 {
83 
84  FIXME("%s %u %p %p %p %p\n", debugstr_a(pwszScope),
85  iBm, pwszMachine, pcMachine, pwszCat, pcCat);
86  return CI_E_NOT_RUNNING;
87 }
#define FIXME(fmt,...)
Definition: debug.h:111
#define debugstr_a
Definition: kernel32.h:31
#define CI_E_NOT_RUNNING
Definition: cierror.h:42

◆ LocateCatalogsW()

HRESULT WINAPI LocateCatalogsW ( WCHAR const pwszScope,
ULONG  iBm,
WCHAR pwszMachine,
ULONG pcMachine,
WCHAR pwszCat,
ULONG pcCat 
)

Definition at line 89 of file query_main.c.

92 {
93 
94  FIXME("%s %u %p %p %p %p\n", debugstr_w(pwszScope),
95  iBm, pwszMachine, pcMachine, pwszCat, pcCat);
96  return CI_E_NOT_RUNNING;
97 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:111
#define CI_E_NOT_RUNNING
Definition: cierror.h:42

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( query  )