1 /* Copyright (c) 2010 Timothy Wall, All Rights Reserved
2  * Copyright 2010 Digital Rapids Corp.
3  *
4  * The contents of this file is dual-licensed under 2
5  * alternative Open Source/Free licenses: LGPL 2.1 or later and
6  * Apache License 2.0. (starting with JNA version 4.0.0).
7  *
8  * You can freely decide which license you want to apply to
9  * the project.
10  *
11  * You may obtain a copy of the LGPL License at:
12  *
13  * http://www.gnu.org/licenses/licenses.html
14  *
15  * A copy is also included in the downloadable source code package
16  * containing JNA, in file "LGPL2.1".
17  *
18  * You may obtain a copy of the Apache License at:
19  *
20  * http://www.apache.org/licenses/
21  *
22  * A copy is also included in the downloadable source code package
23  * containing JNA, in file "AL2.0".
24  */
25 package com.sun.jna.platform.win32;
26 
27 
28 import com.sun.jna.platform.win32.WTypes;
29 
30 
31 /**
32  * Definitions from ObjBase.h
33  * @author scott.palmer
34  */
35 public interface ObjBase {
36 
37 
38     /** The clsctx inproc. */
39     int CLSCTX_INPROC = (WTypes.CLSCTX_INPROC_SERVER | WTypes.CLSCTX_INPROC_HANDLER);
40 
41     // With DCOM, CLSCTX_REMOTE_SERVER should be included
42     /** The clsctx all. */
43     int CLSCTX_ALL = (WTypes.CLSCTX_INPROC_SERVER
44                       | WTypes.CLSCTX_INPROC_HANDLER
45                       | WTypes.CLSCTX_LOCAL_SERVER
46                       | WTypes.CLSCTX_REMOTE_SERVER);
47 
48 
49     /** The clsctx server. */
50     int CLSCTX_SERVER = (WTypes.CLSCTX_INPROC_SERVER
51                          | WTypes.CLSCTX_LOCAL_SERVER
52                          | WTypes.CLSCTX_REMOTE_SERVER);
53 }