This method of the IJavaExecute2 interface inserts a special source of classes into the class path. These elements are searched before any other elements in the class path.
HRESULT SetClassSource(DWORD dwType, LPVOID pData, DWORD dwLen);
dwType | The 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, which is in the \Include subdirectory of the Microsoft SDK for Java installation. |
pData | The address of an information structure whose format is type-dependent.
For CLASS_SOURCE_TYPE_MODULERESOURCES, this is an address of a JAVACLASSRESOURCEINFO structure. |
dwLen | The size (in bytes) of the structure pointed to by pData. |