如题
解决方案 »
- udp 中部分数据包超时重发机制请教?
- RasDial 的回调函数问题
- vc中能否实现这样的机制?
- 初涉VC做DLL在VB中调用,高手指点!
- 谁用过TC3.0
- vc6.0的补丁在哪里有下载?
- 谁知道bcgcontrolbar5.83的下载位置
- 请问怎样获取操作剪切板的窗口句柄?
- 新手问题
- 高手!救我!如何在一个页面上画一个图格,用户在其上能手动的点上点,然后自动的为这些点连上线,最终成为一条曲线!!!!
- #######!!急!!如何在程序中运行其他语言编的exe文件,在线等待!############################
- 想领教,socket中的client端能否指定本机的端口去连接SERVER,怎么设定?
PSID Sid,
PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
BYTE nSubAuthorityCount
);Parameters
Sid
[out] Pointer to a SID structure to be initialized.
pIdentifierAuthority
[in] Pointer to a SID_IDENTIFIER_AUTHORITY structure to set in the SID structure.
nSubAuthorityCount
[in] Specifies the number of subauthorities to set in the SID. Values of the subauthority must be set separately, as described in the following Res section. Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.Res
Although the InitializeSid function sets the number of subauthorities for the SID, it does not set the subauthority values. This must be done separately, using functions such as GetSidSubAuthority.An application can use the AllocateAndInitializeSid function to initialize a SID and set its subauthority values.This function uses a 32-bit RID value. For applications that require a larger RID value, use CreateWellKnownSid.