Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Retrieves the campaignId, if any, a user's Microsoft Store install is associated with. These are present if the user clicked a "ms-window-store://" or "https://" link that included a "cid" query argument the very first time they installed the app. (This value appears to be cached forever, so subsequent installs will not refresh it.) If a non-empty campaign ID is found it will be assumed to be a properly formatted attribution code and have an additional "msstoresignedin" key appended to it indicate whether or not the user was signed in when they installed the application. This key will either be set to "true" or "false".
NS_ERROR_NOT_IMPLEMENTED if called on Windows 8 or earlier, or from a non-packaged build.
NS_ERROR_FAILURE for any other errors
Generated using TypeDoc
Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.
Returns
The resulting reference count.