pub unsafe fn WsCreateServiceEndpointFromTemplate(
    channeltype: WS_CHANNEL_TYPE,
    properties: Option<&[WS_SERVICE_ENDPOINT_PROPERTY]>,
    addressurl: Option<*const WS_STRING>,
    contract: *const WS_SERVICE_CONTRACT,
    authorizationcallback: WS_SERVICE_SECURITY_CALLBACK,
    heap: *const WS_HEAP,
    templatetype: WS_BINDING_TEMPLATE_TYPE,
    templatevalue: Option<*const c_void>,
    templatesize: u32,
    templatedescription: *const c_void,
    templatedescriptionsize: u32,
    serviceendpoint: *mut *mut WS_SERVICE_ENDPOINT,
    error: Option<*const WS_ERROR>
) -> Result<()>