RoleEnvironmentGetLocalResource Function
Returns a pointer to the local store resource named in the service definition file.
Syntax
STDAPI RoleEnvironmentGetLocalResource(__in LPCTSTR localResourceName,__deref_out LPLOCALRESOURCE* ppout);
Parameters
localResourceName
Required. The name of the local store resource.ppout
Required. A pointer to the local store resource.
Return Value
Use the SUCCEEDED macro to determine whether a call to the RoleEnvironmentGetLocalResource function has succeeded or failed. For more information, see Return Codes.
Remarks
The name specified for the localResourceName parameter uniquely identifies the pointer returned in ppout as long as the process is running. It is not necessary to deallocate memory used by ppout.
Function Information
Header File |
ServiceRuntime.h |
Import Library |
<Azure SDK installation directory>\lib\x64\mswasr.lib <Azure SDK installation directory>\lib\x86\mswasr.lib |