Make load_string_table return the string table.
[wine/multimedia.git] / programs / rpcss / rpcss.h
blob245b7b9dd6c8b0a42b23d4fdf1f439a0d2fb2d0e
1 /*
2 * RPCSS definitions
4 * Copyright (C) 2002 Greg Turner
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_RPCSS_H
22 #define __WINE_RPCSS_H
24 #include "wine/rpcss_shared.h"
25 #include "windows.h"
27 /* in seconds */
28 #define RPCSS_DEFAULT_MAX_LAZY_TIMEOUT 30
30 /* rpcss_main.c */
31 HANDLE RPCSS_GetMasterMutex(void);
32 BOOL RPCSS_ReadyToDie(void);
33 void RPCSS_SetLazyTimeRemaining(long);
34 long RPCSS_GetLazyTimeRemaining(void);
35 void RPCSS_SetMaxLazyTimeout(long);
36 long RPCSS_GetMaxLazyTimeout(void);
38 /* epmap_server.c */
39 BOOL RPCSS_EpmapEmpty(void);
40 BOOL RPCSS_NPDoWork(void);
41 void RPCSS_RegisterRpcEndpoints(RPC_SYNTAX_IDENTIFIER iface, int object_count,
42 int binding_count, int no_replace, char *vardata, long vardata_size);
43 void RPCSS_UnregisterRpcEndpoints(RPC_SYNTAX_IDENTIFIER iface, int object_count,
44 int binding_count, char *vardata, long vardata_size);
45 void RPCSS_ResolveRpcEndpoints(RPC_SYNTAX_IDENTIFIER iface, UUID object,
46 char *protseq, char *rslt_ep);
48 /* named_pipe_kludge.c */
49 BOOL RPCSS_BecomePipeServer(void);
50 BOOL RPCSS_UnBecomePipeServer(void);
51 LONG RPCSS_SrvThreadCount(void);
53 #endif /* __WINE_RPCSS_H */