From Tracker Software PDF SDK
Retrieves the field with the given name from a form.
HRESULT GetFieldByName([in] LPWSTR sName, [out, retval] IPXC_FormField** ppField);
- [in] The name of the field to retrieve.
- [out, retval] Pointer to a IPXC_FormField variable that will receive the object of the field when the form contains a field with the specified name.
Returns S_OK if operation was successful or an error code in other cases.