SearchComplete Event
Fired upon completion of a search operation.
Syntax
ANSI (Cross Platform) virtual int FireSearchComplete(LDAPSearchCompleteEventParams *e);
typedef struct {
int MessageId;
const char *DN;
int ResultCode;
const char *ResultDescription; int reserved; } LDAPSearchCompleteEventParams; Unicode (Windows) virtual INT FireSearchComplete(LDAPSearchCompleteEventParams *e);
typedef struct {
INT MessageId;
LPCWSTR DN;
INT ResultCode;
LPCWSTR ResultDescription; INT reserved; } LDAPSearchCompleteEventParams;
- (void)onSearchComplete:(int)messageId :(NSString*)DN :(int)resultCode :(NSString*)resultDescription;
#define EID_LDAP_SEARCHCOMPLETE 10 virtual INT IPWORKS_CALL FireSearchComplete(INT &iMessageId, LPSTR &lpszDN, INT &iResultCode, LPSTR &lpszResultDescription);
Remarks
The MessageId parameter identifies the corresponding request. ResultCode and ResultDescription show whether the operation was successful (on a successful operation, the ResultCode is 0).