[{"data":1,"prerenderedAt":730},["ShallowReactive",2],{"F3DuSNs849":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":729,"_id":4},"VkExportFenceWin32HandleInfoKHR","Structure specifying additional attributes of Windows handles exported from a fence","VK_KHR_external_fence_win32","structs",[],{"type":10,"children":11,"toc":726},"root",[12,52,332,422,442,522,539,544,553,612,681,720],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26,28,35,37,43,45,50],{"type":18,"value":19},"text","To specify additional attributes of NT handles exported from a fence, add a\n",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkExportFenceWin32HandleInfoKHR",[25],{"type":18,"value":4},{"type":18,"value":27}," structure to the ",{"type":13,"tag":29,"props":30,"children":32},"code",{"className":31},[],[33],{"type":18,"value":34},"pNext",{"type":18,"value":36}," chain of\nthe ",{"type":13,"tag":21,"props":38,"children":40},{"href":39},"/man/VkFenceCreateInfo",[41],{"type":18,"value":42},"VkFenceCreateInfo",{"type":18,"value":44}," structure.\nThe ",{"type":13,"tag":29,"props":46,"children":48},{"className":47},[],[49],{"type":18,"value":4},{"type":18,"value":51}," structure is defined as:",{"type":13,"tag":53,"props":54,"children":55},"code-group",{},[56,169],{"type":13,"tag":57,"props":58,"children":64},"pre",{"className":59,"code":60,"filename":61,"language":62,"meta":63,"style":63},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkExportFenceWin32HandleInfoKHR {\n VkStructureType sType;\n const void* pNext;\n const SECURITY_ATTRIBUTES* pAttributes;\n DWORD dwAccess;\n LPCWSTR name;\n} VkExportFenceWin32HandleInfoKHR;\n","C","c","",[65],{"type":13,"tag":29,"props":66,"children":67},{"__ignoreMap":63},[68,91,100,119,142,151,160],{"type":13,"tag":69,"props":70,"children":73},"span",{"class":71,"line":72},"line",1,[74,80,85],{"type":13,"tag":69,"props":75,"children":77},{"style":76},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[78],{"type":18,"value":79},"typedef",{"type":13,"tag":69,"props":81,"children":82},{"style":76},[83],{"type":18,"value":84}," struct",{"type":13,"tag":69,"props":86,"children":88},{"style":87},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[89],{"type":18,"value":90}," VkExportFenceWin32HandleInfoKHR {\n",{"type":13,"tag":69,"props":92,"children":94},{"class":71,"line":93},2,[95],{"type":13,"tag":69,"props":96,"children":97},{"style":87},[98],{"type":18,"value":99}," VkStructureType sType;\n",{"type":13,"tag":69,"props":101,"children":103},{"class":71,"line":102},3,[104,109,114],{"type":13,"tag":69,"props":105,"children":106},{"style":76},[107],{"type":18,"value":108}," const",{"type":13,"tag":69,"props":110,"children":111},{"style":76},[112],{"type":18,"value":113}," void*",{"type":13,"tag":69,"props":115,"children":116},{"style":87},[117],{"type":18,"value":118}," pNext;\n",{"type":13,"tag":69,"props":120,"children":122},{"class":71,"line":121},4,[123,127,132,137],{"type":13,"tag":69,"props":124,"children":125},{"style":76},[126],{"type":18,"value":108},{"type":13,"tag":69,"props":128,"children":129},{"style":87},[130],{"type":18,"value":131}," SECURITY_ATTRIBUTES",{"type":13,"tag":69,"props":133,"children":134},{"style":76},[135],{"type":18,"value":136},"*",{"type":13,"tag":69,"props":138,"children":139},{"style":87},[140],{"type":18,"value":141}," pAttributes;\n",{"type":13,"tag":69,"props":143,"children":145},{"class":71,"line":144},5,[146],{"type":13,"tag":69,"props":147,"children":148},{"style":87},[149],{"type":18,"value":150}," DWORD dwAccess;\n",{"type":13,"tag":69,"props":152,"children":154},{"class":71,"line":153},6,[155],{"type":13,"tag":69,"props":156,"children":157},{"style":87},[158],{"type":18,"value":159}," LPCWSTR name;\n",{"type":13,"tag":69,"props":161,"children":163},{"class":71,"line":162},7,[164],{"type":13,"tag":69,"props":165,"children":166},{"style":87},[167],{"type":18,"value":168},"} VkExportFenceWin32HandleInfoKHR;\n",{"type":13,"tag":57,"props":170,"children":175},{"className":171,"code":172,"filename":173,"language":174,"meta":63,"style":63},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ExportFenceWin32HandleInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n p_attributes: *const SECURITY_ATTRIBUTES,\n dw_access: DWORD,\n name: LPCWSTR,\n}\n","Rust","rs",[176],{"type":13,"tag":29,"props":177,"children":178},{"__ignoreMap":63},[179,202,235,257,282,303,324],{"type":13,"tag":69,"props":180,"children":181},{"class":71,"line":72},[182,187,191,197],{"type":13,"tag":69,"props":183,"children":184},{"style":76},[185],{"type":18,"value":186},"pub",{"type":13,"tag":69,"props":188,"children":189},{"style":76},[190],{"type":18,"value":84},{"type":13,"tag":69,"props":192,"children":194},{"style":193},"--shiki-default:#953800;--shiki-dark:#FFA657",[195],{"type":18,"value":196}," ExportFenceWin32HandleInfoKHR",{"type":13,"tag":69,"props":198,"children":199},{"style":87},[200],{"type":18,"value":201}," {\n",{"type":13,"tag":69,"props":203,"children":204},{"class":71,"line":93},[205,210,215,220,225,230],{"type":13,"tag":69,"props":206,"children":207},{"style":87},[208],{"type":18,"value":209}," s_type",{"type":13,"tag":69,"props":211,"children":212},{"style":76},[213],{"type":18,"value":214},":",{"type":13,"tag":69,"props":216,"children":217},{"style":193},[218],{"type":18,"value":219}," vk",{"type":13,"tag":69,"props":221,"children":222},{"style":76},[223],{"type":18,"value":224},"::",{"type":13,"tag":69,"props":226,"children":227},{"style":193},[228],{"type":18,"value":229},"StructureType",{"type":13,"tag":69,"props":231,"children":232},{"style":87},[233],{"type":18,"value":234},",\n",{"type":13,"tag":69,"props":236,"children":237},{"class":71,"line":102},[238,243,247,252],{"type":13,"tag":69,"props":239,"children":240},{"style":87},[241],{"type":18,"value":242}," p_next",{"type":13,"tag":69,"props":244,"children":245},{"style":76},[246],{"type":18,"value":214},{"type":13,"tag":69,"props":248,"children":249},{"style":76},[250],{"type":18,"value":251}," *const",{"type":13,"tag":69,"props":253,"children":254},{"style":87},[255],{"type":18,"value":256}," c_void,\n",{"type":13,"tag":69,"props":258,"children":259},{"class":71,"line":121},[260,265,269,273,278],{"type":13,"tag":69,"props":261,"children":262},{"style":87},[263],{"type":18,"value":264}," p_attributes",{"type":13,"tag":69,"props":266,"children":267},{"style":76},[268],{"type":18,"value":214},{"type":13,"tag":69,"props":270,"children":271},{"style":76},[272],{"type":18,"value":251},{"type":13,"tag":69,"props":274,"children":276},{"style":275},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[277],{"type":18,"value":131},{"type":13,"tag":69,"props":279,"children":280},{"style":87},[281],{"type":18,"value":234},{"type":13,"tag":69,"props":283,"children":284},{"class":71,"line":144},[285,290,294,299],{"type":13,"tag":69,"props":286,"children":287},{"style":87},[288],{"type":18,"value":289}," dw_access",{"type":13,"tag":69,"props":291,"children":292},{"style":76},[293],{"type":18,"value":214},{"type":13,"tag":69,"props":295,"children":296},{"style":275},[297],{"type":18,"value":298}," DWORD",{"type":13,"tag":69,"props":300,"children":301},{"style":87},[302],{"type":18,"value":234},{"type":13,"tag":69,"props":304,"children":305},{"class":71,"line":153},[306,311,315,320],{"type":13,"tag":69,"props":307,"children":308},{"style":87},[309],{"type":18,"value":310}," name",{"type":13,"tag":69,"props":312,"children":313},{"style":76},[314],{"type":18,"value":214},{"type":13,"tag":69,"props":316,"children":317},{"style":275},[318],{"type":18,"value":319}," LPCWSTR",{"type":13,"tag":69,"props":321,"children":322},{"style":87},[323],{"type":18,"value":234},{"type":13,"tag":69,"props":325,"children":326},{"class":71,"line":162},[327],{"type":13,"tag":69,"props":328,"children":329},{"style":87},[330],{"type":18,"value":331},"}\n",{"type":13,"tag":333,"props":334,"children":335},"ul",{},[336,356,374,393,411],{"type":13,"tag":337,"props":338,"children":339},"li",{},[340,346,348,354],{"type":13,"tag":29,"props":341,"children":343},{"className":342},[],[344],{"type":18,"value":345},"sType",{"type":18,"value":347}," is a ",{"type":13,"tag":21,"props":349,"children":351},{"href":350},"/man/VkStructureType",[352],{"type":18,"value":353},"VkStructureType",{"type":18,"value":355}," value identifying this structure.",{"type":13,"tag":337,"props":357,"children":358},{},[359,364,366,372],{"type":13,"tag":29,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":34},{"type":18,"value":365}," is ",{"type":13,"tag":29,"props":367,"children":369},{"className":368},[],[370],{"type":18,"value":371},"NULL",{"type":18,"value":373}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":337,"props":375,"children":376},{},[377,383,385,391],{"type":13,"tag":29,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":382},"pAttributes",{"type":18,"value":384}," is a pointer to a Windows ",{"type":13,"tag":29,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":390},"SECURITY_ATTRIBUTES",{"type":18,"value":392},"\nstructure specifying security attributes of the handle.",{"type":13,"tag":337,"props":394,"children":395},{},[396,402,403,409],{"type":13,"tag":29,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":401},"dwAccess",{"type":18,"value":347},{"type":13,"tag":29,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":408},"DWORD",{"type":18,"value":410}," specifying access rights of the handle.",{"type":13,"tag":337,"props":412,"children":413},{},[414,420],{"type":13,"tag":29,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"name",{"type":18,"value":421}," is a null-terminated UTF-16 string to associate with the\nunderlying synchronization primitive referenced by NT handles exported\nfrom the created fence.",{"type":13,"tag":14,"props":423,"children":424},{},[425,427,433,435,440],{"type":18,"value":426},"If ",{"type":13,"tag":21,"props":428,"children":430},{"href":429},"/man/VkExportFenceCreateInfo",[431],{"type":18,"value":432},"VkExportFenceCreateInfo",{"type":18,"value":434}," is not included in the same ",{"type":13,"tag":29,"props":436,"children":438},{"className":437},[],[439],{"type":18,"value":34},{"type":18,"value":441},"\nchain, this structure is ignored.",{"type":13,"tag":14,"props":443,"children":444},{},[445,446,450,452,457,459,463,465,471,473,478,480,485,487,492,494,499,501,507,520],{"type":18,"value":426},{"type":13,"tag":21,"props":447,"children":448},{"href":429},[449],{"type":18,"value":432},{"type":18,"value":451}," is included in the ",{"type":13,"tag":29,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":34},{"type":18,"value":458}," chain of\n",{"type":13,"tag":21,"props":460,"children":461},{"href":39},[462],{"type":18,"value":42},{"type":18,"value":464}," with a Windows ",{"type":13,"tag":29,"props":466,"children":468},{"className":467},[],[469],{"type":18,"value":470},"handleType",{"type":18,"value":472},", but either\n",{"type":13,"tag":29,"props":474,"children":476},{"className":475},[],[477],{"type":18,"value":4},{"type":18,"value":479}," is not included in the ",{"type":13,"tag":29,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":34},{"type":18,"value":486},"\nchain, or it is included but ",{"type":13,"tag":29,"props":488,"children":490},{"className":489},[],[491],{"type":18,"value":382},{"type":18,"value":493}," is set to ",{"type":13,"tag":29,"props":495,"children":497},{"className":496},[],[498],{"type":18,"value":371},{"type":18,"value":500},", default\nsecurity descriptor values will be used, and child processes created by the\napplication will not inherit the handle, as described in the MSDN\ndocumentation for ",{"type":13,"tag":29,"props":502,"children":504},{"className":503},[],[505],{"type":18,"value":506},"Synchronization Object Security and Access Rights",{"type":13,"tag":508,"props":509,"children":510},"sup",{},[511],{"type":13,"tag":21,"props":512,"children":517},{"href":513,"ariaDescribedBy":514,"dataFootnoteRef":63,"id":516},"#user-content-fn-1",[515],"footnote-label","user-content-fnref-1",[518],{"type":18,"value":519},"1",{"type":18,"value":521},".\nFurther, if the structure is not present, the access rights will be",{"type":13,"tag":14,"props":523,"children":524},{},[525,531,533],{"type":13,"tag":29,"props":526,"children":528},{"className":527},[],[529],{"type":18,"value":530},"DXGI_SHARED_RESOURCE_READ",{"type":18,"value":532}," | ",{"type":13,"tag":29,"props":534,"children":536},{"className":535},[],[537],{"type":18,"value":538},"DXGI_SHARED_RESOURCE_WRITE",{"type":13,"tag":14,"props":540,"children":541},{},[542],{"type":18,"value":543},"for handles of the following types:",{"type":13,"tag":14,"props":545,"children":546},{},[547],{"type":13,"tag":29,"props":548,"children":550},{"className":549},[],[551],{"type":18,"value":552},"VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT",{"type":13,"tag":554,"props":555,"children":557},"validity-group",{"name":556},"Valid Usage",[558],{"type":13,"tag":559,"props":560,"children":562},"validity-field",{"name":561},"VUID-VkExportFenceWin32HandleInfoKHR-handleTypes-01447",[563],{"type":13,"tag":14,"props":564,"children":565},{},[566,567,571,572,578,580,585,587,592,594,599,601,606,608],{"type":18,"value":426},{"type":13,"tag":21,"props":568,"children":569},{"href":429},[570],{"type":18,"value":432},{"type":18,"value":224},{"type":13,"tag":29,"props":573,"children":575},{"className":574},[],[576],{"type":18,"value":577},"handleTypes",{"type":18,"value":579}," does not include\n",{"type":13,"tag":29,"props":581,"children":583},{"className":582},[],[584],{"type":18,"value":552},{"type":18,"value":586},", a\n",{"type":13,"tag":29,"props":588,"children":590},{"className":589},[],[591],{"type":18,"value":4},{"type":18,"value":593}," structure ",{"type":13,"tag":595,"props":596,"children":598},"normative",{"type":597},"must",[],{"type":18,"value":600}," not be included in\nthe ",{"type":13,"tag":29,"props":602,"children":604},{"className":603},[],[605],{"type":18,"value":34},{"type":18,"value":607}," chain of ",{"type":13,"tag":21,"props":609,"children":610},{"href":39},[611],{"type":18,"value":42},{"type":13,"tag":554,"props":613,"children":615},{"name":614},"Valid Usage (Implicit)",[616,641],{"type":13,"tag":559,"props":617,"children":619},{"name":618},"VUID-VkExportFenceWin32HandleInfoKHR-sType-sType",[620],{"type":13,"tag":14,"props":621,"children":622},{},[623,628,630,633,635],{"type":13,"tag":29,"props":624,"children":626},{"className":625},[],[627],{"type":18,"value":345},{"type":18,"value":629}," ",{"type":13,"tag":595,"props":631,"children":632},{"type":597},[],{"type":18,"value":634}," be ",{"type":13,"tag":29,"props":636,"children":638},{"className":637},[],[639],{"type":18,"value":640},"VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR",{"type":13,"tag":559,"props":642,"children":644},{"name":643},"VUID-VkExportFenceWin32HandleInfoKHR-pAttributes-parameter",[645],{"type":13,"tag":14,"props":646,"children":647},{},[648,649,654,656,661,663,668,669,672,674,679],{"type":18,"value":426},{"type":13,"tag":29,"props":650,"children":652},{"className":651},[],[653],{"type":18,"value":382},{"type":18,"value":655}," is not ",{"type":13,"tag":29,"props":657,"children":659},{"className":658},[],[660],{"type":18,"value":371},{"type":18,"value":662},", ",{"type":13,"tag":29,"props":664,"children":666},{"className":665},[],[667],{"type":18,"value":382},{"type":18,"value":629},{"type":13,"tag":595,"props":670,"children":671},{"type":597},[],{"type":18,"value":673}," be a valid pointer to a valid ",{"type":13,"tag":29,"props":675,"children":677},{"className":676},[],[678],{"type":18,"value":390},{"type":18,"value":680}," value",{"type":13,"tag":682,"props":683,"children":686},"section",{"className":684,"dataFootnotes":63},[685],"footnotes",[687,695],{"type":13,"tag":688,"props":689,"children":692},"h2",{"className":690,"id":515},[691],"sr-only",[693],{"type":18,"value":694},"Footnotes",{"type":13,"tag":696,"props":697,"children":698},"ol",{},[699],{"type":13,"tag":337,"props":700,"children":702},{"id":701},"user-content-fn-1",[703,710,711],{"type":13,"tag":21,"props":704,"children":708},{"href":705,"rel":706},"https://docs.microsoft.com/en-us/windows/win32/sync/synchronization-object-security-and-access-rights",[707],"nofollow",[709],{"type":18,"value":705},{"type":18,"value":629},{"type":13,"tag":21,"props":712,"children":717},{"href":713,"ariaLabel":714,"className":715,"dataFootnoteBackref":63},"#user-content-fnref-1","Back to reference 1",[716],"data-footnote-backref",[718],{"type":18,"value":719},"↩",{"type":13,"tag":721,"props":722,"children":723},"style",{},[724],{"type":18,"value":725},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":63,"searchDepth":93,"depth":93,"links":727},[728],{"id":515,"depth":93,"text":694},"markdown",1725732551423]