Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "LsaClose" in [All]

advapi32

.

        LsaClose(Policy)

.

    LsaClose(Policy)

.
Summary
The LsaClose function closes a handle to a Policy or TrustedDomain object.
.

static extern uint LsaClose(IntPtr ObjectHandle);

.

Declare Unicode Function LsaClose Lib "advapi32.dll" (ByVal ObjectHandle As IntPtr) As Int32

.
Documentation
[LsaClose] on MSDN
.

    internal static extern int LsaClose(IntPtr PolicyHandle);

.

        Win32Sec.LsaClose(lsaHandle);

.

        LsaClose(Policy)

.

    LsaClose(Policy)

.

    internal static extern int LsaClose(IntPtr PolicyHandle);

.

        Win32Sec.LsaClose(lsaHandle);

.

When done with the handle, call LsaClose

.

            LsaClose( aPolicyHandle );

.

                LsaClose(policy);

.

        private static extern long LsaClose(IntPtr ObjectHandle);

.

        LsaClose(Policy)

.

    LsaClose(Policy)

.

        LsaClose(Policy)

.

    LsaClose(Policy)

.

    private static extern uint LsaClose(

.

        uint ntsResult = LsaClose(LsaPolicyHandle);

.

        throw new Exception("LsaClose failed: " + winErrorCode);


 
Access PInvoke.net directly from VS: