The WEB_STORAGE_APPLICATION structure contains information about
a registered application.
typedef struct _WEB_STORAGE_APPLICATION
{
TCHAR szAppId[64];
TCHAR szApiKey[64];
TCHAR szLuid[64];
DWORD dwTokens;
DWORD dwReserved;
SYSTEMTIME stCreated;
SYSTEMTIME stUpdated;
} WEB_STORAGE_APPLICATION, *LPWEB_STORAGE_APPLICATION;
Members
- szAppId
- A null-terminated string which contains the application ID that
was registered using the RegisterAppId method.
- szApiKey
- A null-terminated string which contains the API key value that
is used internally by the storage services. The AppID is effectively
the human readable alias for this key value used to identify the
stored objects for the application. This value is guaranteed to be
unique across all applications registered with the storage service.
- szLuid
- A null-terminated string which specifies a locally unique value
associated with the registered application. This value is used
internally by the storage service and guaranteed to be unique to the
storage account that has registered the application. Note that there
are no functions that currently accept the application LUID as
parameter, but you may choose to use this value in your own
application for other purposes.
- dwTokens
- An unsigned integer value which specifies the number of access
tokens associated with the registered application. Typically there
is only one access token associated with a given AppID at any one
time, although it is possible that the API may allocate additional
access tokens under some circumstances.
- dwReserved
- An unsigned integer value that is reserved for future use. This
value will always be zero.
- stCreated
- A SYSTEMTIME structure that specifies the date and time the
AppID was registered. This value is represented using
Coordinated Universal Time (UTC) and is not adjusted for the local
time zone.
- stUpdated
- A SYSTEMTIME structure that specifies the date and time the
AppID object was last updated. This value is represented using
Coordinated Universal Time (UTC) and is not adjusted for the local
time zone. When a storage object is first created, this value will
be the same as the object creation time.
Remarks
This structure is used in conjunction with the GetFirstApplication and
GetNextApplication methods which enumerate all registered
applications for the current storage account.
To adjust the creation and update times to account for
the local time zone, use the SystemTimeToTzSpecificLocalTime
function. If you prefer to use FILETIME values, use the
SystemTimeToFileTime function.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Unicode: Implemented as Unicode and ANSI versions
|