"use strict";(self.webpackChunkrspress_doc_template=self.webpackChunkrspress_doc_template||[]).push([["9713"],{80653:function(e,s,n){n.r(s);var r=n(85893),i=n(50065);function l(e){let s=Object.assign({h1:"h1",a:"a",pre:"pre",code:"code",span:"span",p:"p",ul:"ul",li:"li",div:"div"},(0,i.ah)(),e.components);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s.h1,{id:"hbucpsettaskdonecb",children:[(0,r.jsx)(s.a,{className:"header-anchor","aria-hidden":"true",href:"#hbucpsettaskdonecb",children:"#"}),"hbUCPSetTaskDoneCb"]}),"\n",(0,r.jsx)(s.pre,{className:"code",children:(0,r.jsx)(s.pre,{className:"shiki css-variables has-line-number",style:{backgroundColor:"var(--shiki-color-background)"},tabIndex:"0",children:(0,r.jsxs)(s.code,{className:"language-cpp",meta:"",children:[(0,r.jsxs)(s.span,{className:"line line-number",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"int32_t"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"hbUCPSetTaskDoneCb"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"hbUCPTaskHandle_t"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" taskHandle"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{className:"line line-number",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"                           "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"hbUCPTaskDoneCb"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" taskDoneCb"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"void"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"userdata);"})]}),"\n"]})})}),"\n",(0,r.jsx)(s.p,{children:"\u6CE8\u518C\u4E00\u4E2A\u56DE\u8C03\u51FD\u6570\uFF0C\u8FD9\u4E2A\u56DE\u8C03\u51FD\u6570\u5728\u4EFB\u52A1\u5B8C\u6210\u540E\u81EA\u52A8\u6267\u884C\u3002"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsx)(s.p,{children:"\u53C2\u6570"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["[in] ",(0,r.jsx)(s.code,{children:"taskHandle"})," \u4EFB\u52A1\u53E5\u67C4\u6307\u9488\u3002"]}),"\n",(0,r.jsxs)(s.li,{children:["[in] ",(0,r.jsx)(s.code,{children:"taskDoneCb"})," \u56DE\u8C03\u51FD\u6570\u6307\u9488\u3002"]}),"\n",(0,r.jsxs)(s.li,{children:["[in] ",(0,r.jsx)(s.code,{children:"userdata"})," \u7528\u6237\u81EA\u5B9A\u4E49\u7684\u6570\u636E\u3002"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsx)(s.p,{children:"\u8FD4\u56DE\u503C"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["\u8FD4\u56DE ",(0,r.jsx)(s.code,{children:"0"})," \u5219\u8868\u793A\u56DE\u8C03\u51FD\u6570\u6CE8\u518C\u6210\u529F\uFF0C\u5426\u5219\u6CE8\u518C\u5931\u8D25\u3002"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(s.div,{className:"rspress-directive info",children:[(0,r.jsx)(s.div,{className:"rspress-directive-title",children:"\u6CE8\u89E3"}),(0,r.jsx)(s.div,{className:"rspress-directive-content",children:(0,r.jsxs)(s.p,{children:["\u8BE5\u63A5\u53E3\u53EF\u4EE5\u6CE8\u518C\u4E00\u4E2A\u56DE\u8C03\u51FD\u6570\uFF0C\u4EFB\u52A1\u6267\u884C\u5B8C\u6210\u540E\u4F1A\u8C03\u7528\u8FD9\u4E2A\u56DE\u8C03\u51FD\u6570\u53BB\u6267\u884C\u7528\u6237\u81EA\u5B9A\u4E49\u7684\u529F\u80FD\u3002\u5982\u679C\u4E0D\u9700\u8981\u81EA\u5B9A\u4E49\u8F93\u5165\uFF0C\u53EF\u4EE5\u5C06userdata\u8BBE\u4E3Anullptr\u3002\n\u8BF7\u4E0D\u8981\u5728\u56DE\u8C03\u51FD\u6570\u4E2D\u8C03\u7528 ",(0,r.jsx)(s.code,{children:"hbUCPReleaseTask"})," \u91CA\u653E\u4EFB\u52A1\uFF0C\u5426\u5219\u53EF\u80FD\u51FA\u73B0\u672A\u5B9A\u4E49\u884C\u4E3A\u3002"]})})]})]})}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:s}=Object.assign({},(0,i.ah)(),e.components);return s?(0,r.jsx)(s,Object.assign({},e,{children:(0,r.jsx)(l,e)})):l(e)}s.default=c,c.__RSPRESS_PAGE_META={},c.__RSPRESS_PAGE_META["latest%2Fzh%2Fguide%2Fucp%2Fucp_api_reference%2Fucp_api_function_interface%2Fhbucpsettaskdonecb.mdx"]={toc:[],title:"hbUCPSetTaskDoneCb",frontmatter:{}}}}]);