ReactOS 0.4.16-dev-205-g7b2bb7e
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 FIXME(fmt,...)
Definition: precomp.h:53
#define CI_E_NOT_RUNNING
Definition: cierror.h:42
#define debugstr_w
Definition: kernel32.h:32

◆ 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 debugstr_guid
Definition: kernel32.h:35
#define CLASS_E_CLASSNOTAVAILABLE
Definition: winerror.h:2663

◆ 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 */
47 break;
48 }
49 return TRUE;
50}
#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

◆ DllRegisterServer()

HRESULT WINAPI DllRegisterServer ( void  )

Definition at line 67 of file query_main.c.

68{
69 FIXME("\n");
70 return S_OK;
71}
#define S_OK
Definition: intsafe.h:52

◆ 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 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 debugstr_a
Definition: kernel32.h:31

◆ 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}

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( query  )