mfplat: Read queue subscriber within the critical section.
[wine/zf.git] / dlls / clusapi / clusapi.c
blobb1dde6f02908bffc39789b15eacf0ea5868a6d28
1 /*
2 * clusapi main
4 * Copyright 2006 Benjamin Arai (Google)
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "clusapi.h"
26 #include "wine/debug.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(clusapi);
30 /***********************************************************************
31 * GetClusterInformation (CLUSAPI.@)
34 DWORD WINAPI GetClusterInformation(HCLUSTER hCluster, LPWSTR lpszClusterName,
35 LPDWORD lpcchClusterName, LPCLUSTERVERSIONINFO lpClusterInfo)
37 FIXME("(%p, %p, %p, %p) stub!\n", hCluster, lpszClusterName, lpcchClusterName, lpClusterInfo);
39 *lpcchClusterName = 0;
41 return ERROR_SUCCESS;
44 /***********************************************************************
45 * GetNodeClusterState (CLUSAPI.@)
47 * PARAMS
48 * lpszNodeName [I] Optional Pointer to a NULL terminated unicode string
49 * pdwClusterState [O] Current state of the cluster
50 * 0x00 - Cluster not installed.
51 * 0x01 - Cluster not configured.
52 * 0x03 - Cluster not running.
53 * 0x13 - Cluster is running.
55 DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState)
57 FIXME("(%s,%p) stub!\n",debugstr_w(lpszNodeName),pdwClusterState);
59 *pdwClusterState = 0;
61 return ERROR_SUCCESS;
64 /***********************************************************************
65 * OpenCluster (CLUSAPI.@)
68 HCLUSTER WINAPI OpenCluster(LPCWSTR lpszClusterName)
70 FIXME("(%s) stub!\n", debugstr_w(lpszClusterName));
72 return (HCLUSTER)0xdeadbeef;
75 /***********************************************************************
76 * CloseCluster (CLUSAPI.@)
79 BOOL WINAPI CloseCluster(HCLUSTER hCluster)
81 FIXME("(%p) stub!\n", hCluster);
83 return TRUE;
86 /***********************************************************************
87 * ClusterOpenEnum (CLUSAPI.@)
90 HCLUSENUM WINAPI ClusterOpenEnum(HCLUSTER hCluster, DWORD dwType)
92 FIXME("(%p, %u) stub!\n", hCluster,dwType);
94 return (HCLUSENUM)0xdeadbeef;
97 /***********************************************************************
98 * ClusterCloseEnum (CLUSAPI.@)
101 DWORD WINAPI ClusterCloseEnum(HCLUSENUM hEnum)
103 FIXME("(%p) stub!\n", hEnum);
105 return ERROR_SUCCESS;
108 /***********************************************************************
109 * ClusterEnum (CLUSAPI.@)
112 DWORD WINAPI ClusterEnum(HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName)
114 FIXME("(%p, %u, %p, %p, %u) stub!\n", hEnum, dwIndex, lpdwType, lpszName, *lpcchName);
116 return ERROR_NO_MORE_ITEMS;