The WEB_STORAGE_QUOTA structure contains information about
the current storage account data usage and limits. This structure is
used with the WebGetStorageQuota
function.
typedef struct _WEB_STORAGE_QUOTA
{
DWORD dwObjects;
DWORD dwObjectLimit;
DWORD dwObjectSize;
ULONGLONG ulBytesUsed;
ULONGLONG ulBytesFree;
ULONGLONG ulStorageLimit;
} WEB_STORAGE_QUOTA, *LPWEB_STORAGE_QUOTA;
Storage quota limits are assigned for each SocketTools development
account. The WebGetStorageQuota function will
populate this structure with information about the limits on your
account. Accounts that are created with an evaluation license have
much lower quota limits than a standard account and should be used for
testing purposes only. After the evaluation period has ended, all
objects stored using the evaluation license will be deleted.
These values do not represent limits on storage usage by a specific
application. Quotas limits apply to all applications that are
registered with the development account, which is identified with the
runtime license key passed to the WebInitialize
function.
If your storage quota has been exceeded, either because the total
number of objects or the total bytes of storage has reached their
limit, your applications will be unable to create new objects. Your
application can continue to access existing objects, regardless of
your current quota limits.
To free storage space, use the WebDeleteObject
function to delete individual storage objects that are no longer
needed by your application, or use the WebResetStorage
function to delete all objects in a container.