forked from kohsuke/com4j
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIID.java
More file actions
35 lines (31 loc) · 857 Bytes
/
Copy pathIID.java
File metadata and controls
35 lines (31 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com4j;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.Inherited;
/**
* Annotates a COM interface by its IID.
*
* <p>
* This annotation is used on interfaces derived from
* {@link Com4jObject} to designate the IID of that interface.
*
* <p>
* The runtime uses this information for various purposes.
*
* @author Kohsuke Kawaguchi (kk@kohsuke.org)
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Inherited
public @interface IID {
/**
* GUID as a string like "<tt>{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}</tt>".
*/
String value();
/**
* GUID of IDispatch.
*/
public static final String IDispatch = "{00020400-0000-0000-C000-000000000046}";
}