ReactOS 0.4.16-dev-2224-g3637fd8
comsup.c
Go to the documentation of this file.
1#define INITGUID
2
3#include "shimgvw.h"
4#include "comsup.h"
5#include <rpcproxy.h>
6
9
10
11VOID
13{
14 ObjectCount = 0;
15 LockCount = 0;
16}
17
18
21{
23}
24
25
28{
30}
31
32
35{
36 if ((ObjectCount != 0) || (LockCount != 0))
37 {
38 return S_FALSE;
39 }
40 else
41 {
42 return S_OK;
43 }
44}
45
46
49{
50 HRESULT hr;
51
52 /* There are no classes to export, so always return CLASS_E_CLASSNOTAVAILABLE*/
53 *ppv = NULL;
55
56 return hr;
57}
HINSTANCE g_hInstance
Definition: MainWindow.cpp:18
HRESULT __wine_unregister_resources(HMODULE module)
Definition: register.c:124
HRESULT __wine_register_resources(HMODULE module)
Definition: register.c:112
#define STDAPI
Definition: basetyps.h:41
STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
Definition: comsup.c:48
VOID DllInitServer(VOID)
Definition: comsup.c:12
LONG LockCount
Definition: comsup.c:7
LONG ObjectCount
Definition: comsup.c:8
#define NULL
Definition: types.h:112
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define S_OK
Definition: intsafe.h:52
HRESULT WINAPI DllRegisterServer(void)
Definition: msctf.cpp:586
HRESULT WINAPI DllUnregisterServer(void)
Definition: msctf.cpp:594
HRESULT WINAPI DllCanUnloadNow(void)
Definition: msctf.cpp:558
long LONG
Definition: pedump.c:60
#define REFIID
Definition: guiddef.h:118
#define REFCLSID
Definition: guiddef.h:117
HRESULT hr
Definition: shlfolder.c:183
#define S_FALSE
Definition: winerror.h:3451
#define CLASS_E_CLASSNOTAVAILABLE
Definition: winerror.h:3772