Invocation Interfaces |
![]() Previous |
![]() Virtual Machine |
![]() Next |
// IUnknown methods HRESULT QueryInterface(REFIID riid, LPVOID *ppv); ULONG AddRef(); ULONG Release(); // IJavaExecute methods HRESULT GetDefaultClassPath(LPOLESTR *ppszClassPath); HRESULT Execute(LPJAVAEXECUTEINFO pjei, LPERRORINFO *pperrorinfo); // IJavaExecute2 methods HRESULT SetSystemProperties(LPENUMJAVAPROPERTY penum); HRESULT SetClassSource(DWORD dwType, LPVOID pData, DWORD dwLen);
See also IJavaExecute.
HRESULT SetSystemProperties(LPENUMJAVAPROPERTY pEnumJavaProperty)Sets property values for java.lang.System.
Parameter Description pEnumJavaProperty Enumeration object that produces a set of key/value pairs. The SetSystemProperties method will enumerate through the entire collection and map each key to the associated value.
HRESULT SetClassSource(DWORD dwType, LPVOID pData, DWORD dwLen);Inserts a special source of classes into the class path. These elements are searched before any other elements in the class path.
Parameter Description dwType Type of class source. The following types are recognized.
- CLASS_SOURCE_TYPE_MODULERESOURCES
- Allows classes to be stored within a Microsoft® Win32® resource.
- CLASS_SOURCE_TYPE_ISTORAGE
- Not currently implemented.
These values are defined in Javaexec.h
pData Address of an information structure whose format is type dependent. For CLASS_SOURCE_TYPE_MODULERESOURCES, this is an address of a JAVACLASSRESOURCEINFO structure.
dwLen Size in bytes of the structure pointed to by pData.