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
26 #include "wine/debug.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(clusapi
);
30 /***********************************************************************
31 * GetNodeClusterState (CLUSAPI.@)
34 * lpszNodeName [I] Optional Pointer to a NULL terminated unicode string
35 * pdwClusterState [O] Current state of the cluster
36 * 0x00 - Cluster not installed.
37 * 0x01 - Cluster not configured.
38 * 0x03 - Cluster not running.
39 * 0x13 - Cluster is running.
41 DWORD WINAPI
GetNodeClusterState(LPCWSTR lpszNodeName
, LPDWORD pdwClusterState
)
43 FIXME("(%s,%p) stub!\n",debugstr_w(lpszNodeName
),pdwClusterState
);
50 /***********************************************************************
51 * OpenCluster (CLUSAPI.@)
54 HCLUSTER WINAPI
OpenCluster(LPCWSTR lpszClusterName
)
56 FIXME("(%s) stub!\n", debugstr_w(lpszClusterName
));
58 return (HCLUSTER
)0xdeadbeef;
61 /***********************************************************************
62 * CloseCluster (CLUSAPI.@)
65 BOOL WINAPI
CloseCluster(HCLUSTER hCluster
)
67 FIXME("(%p) stub!\n", hCluster
);
72 /***********************************************************************
73 * ClusterOpenEnum (CLUSAPI.@)
76 HCLUSENUM WINAPI
ClusterOpenEnum(HCLUSTER hCluster
, DWORD dwType
)
78 FIXME("(%p, %u) stub!\n", hCluster
,dwType
);
80 return (HCLUSENUM
)0xdeadbeef;
83 /***********************************************************************
84 * ClusterCloseEnum (CLUSAPI.@)
87 DWORD WINAPI
ClusterCloseEnum(HCLUSENUM hEnum
)
89 FIXME("(%p) stub!\n", hEnum
);
94 /***********************************************************************
95 * ClusterEnum (CLUSAPI.@)
98 DWORD WINAPI
ClusterEnum(HCLUSENUM hEnum
, DWORD dwIndex
, LPDWORD lpdwType
, LPWSTR lpszName
, LPDWORD lpcchName
)
100 FIXME("(%p, %u, %p, %p, %u) stub!\n", hEnum
, dwIndex
, lpdwType
, lpszName
, *lpcchName
);
102 return ERROR_NO_MORE_ITEMS
;
105 /***********************************************************************
106 * DllMain (CLUSAPI.@)
109 BOOL WINAPI
DllMain(HINSTANCE hinstDLL
, DWORD fdwReason
, LPVOID lpvReserved
)
113 case DLL_WINE_PREATTACH
:
114 return FALSE
; /* prefer native version */
115 case DLL_PROCESS_ATTACH
:
116 DisableThreadLibraryCalls( hinstDLL
);