SECURITY_ATTRIBUTES/SECURITY_DESCRIPTOR

汝才良
2023-12-01

SECURITY_ATTRIBUTES sa;
SECURITY_DESCRIPTOR sd;
InitializeSecurityDescriptor( & sd,SECURITY_DESCRIPTOR_REVISION);
SetSecurityDescriptorDacl( & sd,TRUE,NULL,FALSE);
sa.nLength  =   sizeof (SECURITY_ATTRIBUTES);
sa.bInheritHandle  =  TRUE;
sa.lpSecurityDescriptor  =   & sd;

 类似资料:

相关阅读

相关文章

相关问答