SecureBlackbox 2020 C++ Edition

Questions / Feedback?

QueryQuota Event

Reflects a quota enquiry by a client.

Syntax

ANSI (Cross Platform)
virtual int FireQueryQuota(WebDAVServerQueryQuotaEventParams *e);
typedef struct {
int64 ConnectionID;
const char *Username;
int64 *pAvailable;
int64 *pUsed; int reserved; } WebDAVServerQueryQuotaEventParams; Unicode (Windows) virtual INT FireQueryQuota(WebDAVServerQueryQuotaEventParams *e);
typedef struct {
LONG64 ConnectionID;
LPCWSTR Username;
LONG64 *pAvailable;
LONG64 *pUsed; INT reserved; } WebDAVServerQueryQuotaEventParams;
- (void)onQueryQuota:(long long)connectionID :(NSString*)username :(long long*)available :(long long*)used;
#define EID_WEBDAVSERVER_QUERYQUOTA 12

virtual INT SECUREBLACKBOX_CALL FireQueryQuota(LONG64 &lConnectionID, LPSTR &lpszUsername, LONG64 &lAvailable, LONG64 &lUsed);

Remarks

This event fires in response to a client's enquire about their quota status. Subscribe to this event to react to such enquiries in a customized manner. Use Available and Used properties to report the respective amounts back to the client.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]