WsRegisterOperationForCancel

Function WsRegisterOperationForCancel 

pub unsafe extern "system" fn WsRegisterOperationForCancel(
    context: *const WS_OPERATION_CONTEXT,
    cancelcallback: WS_OPERATION_CANCEL_CALLBACK,
    freestatecallback: WS_OPERATION_FREE_STATE_CALLBACK,
    userstate: *const c_void,
    error: *const WS_ERROR,
) -> HRESULT