HRESULT DefineFuncAsDllEntry(
unsigned int index,
OLECHAR FAR* szDllName,
OLECHAR FAR* szProcName
);
Associates a DLL entry point with the function that has the specified index.
The return value of the returned HRESULT is one of the following:
| Return value | Meaning |
|---|---|
| S_OK | Success. |
| STG_E_INSUFFICIENTMEMORY | Out of memory. |
| E_OUTOFMEMORY | Out of memory. |
| E_INVALIDARG | One or more of the arguments is invalid. |
| TYPE_E_ELEMENTNOTFOUND | The element cannot be found. |
| TYPE_E_WRONGTYPEKIND | Type mismatch. |
If the high word of szProcName is zero, then the low word must contain the ordinal of the entry point; otherwise, szProcName points to the zero-terminated name of the entry point.