OLE Mode Syntax
The @dll.import directive includes a special mode tailored for importing OLE API functions. To use this mode, simply include the ole modifier as in the following example:
/** @dll.import("OLE32", ole) */
public class OLE32 {
...
}