Edit

PFServiceConfigGetAPIEndpoint

Gets the API endpoint for a service configuration.

Syntax

HRESULT PFServiceConfigGetAPIEndpoint(  
    PFServiceConfigHandle handle,  
    size_t apiEndpointSize,  
    char* apiEndpoint,  
    size_t* apiEndpointUsed  
)  

Parameters

handle   PFServiceConfigHandle

ServiceConfig handle.

apiEndpointSize   size_t

Size of the provided buffer. Required size can be obtained via PFServiceConfigGetAPIEndpointSize.

apiEndpoint   char*
Out_writes(apiEndpointSize)

Buffer the API endpoint string will be written to.

apiEndpointUsed   size_t*
optional output

The number of bytes used in the buffer including the null terminator.

Return value

Type: HRESULT

Result code for this API operation.

Requirements

Header: PFServiceConfig.h

See also

PFServiceConfig members