SecurityWin32Util.RegOpenCurrentUser Method
The Win32 RevertToSelfDllImport method. For more information, see Using the DllImport Attribute.
Namespace: Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security
Assembly: Microsoft.Office.Excel.Server.Addins.ComputeCluster (in Microsoft.Office.Excel.Server.Addins.ComputeCluster.dll)
Syntax
'Declaration
Public Shared Function RegOpenCurrentUser ( _
SecurityDesired As Integer, _
ByRef RegKeyHandle As IntPtr _
) As Boolean
'Usage
Dim SecurityDesired As Integer
Dim RegKeyHandle As IntPtr
Dim returnValue As Boolean
returnValue = SecurityWin32Util.RegOpenCurrentUser(SecurityDesired, _
RegKeyHandle)
public static bool RegOpenCurrentUser(
int SecurityDesired,
ref IntPtr RegKeyHandle
)
Parameters
- SecurityDesired
Type: System.Int32
- RegKeyHandle
Type: System.IntPtr
Return Value
Type: System.Boolean
See Also
Reference
Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security Namespace