com4j.IID Maven / Gradle / Ivy
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.
*
*
* This annotation is used on interfaces derived from
* {@link Com4jObject} to designate the IID of that interface.
*
*
* The runtime uses this information for various purposes.
*
* @author Kohsuke Kawaguchi ([email protected])
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Inherited
public @interface IID {
/**
* GUID as a string like "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}".
*/
String value();
/**
* GUID of IDispatch.
*/
public static final String IDispatch = "{00020400-0000-0000-C000-000000000046}";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy