This function takes the following parameters:
Pointer to the protected resource URL.
Pointer to the location where the resource root will be written.
Value based on the size_t defined in the standard <stddef.h> header file that reflects the size of the resource_root buffer.
When using resources other than URLs, the developer implementing this function must make accurate judgement about the minimum size of resource_root.