Desktop Functions: Smart Device Functions:
|
Search Results for "NET_API_STATUS" in [All]Enums
/// #define NET_API_STATUS DWORD
public enum NET_API_STATUS : uint
Public Enum NET_API_STATUS as UInteger netapi322: NetDfsEnum
[DllImport("Netapi32.dll", CharSet = CharSet.Auto/*, SetLastError=true //Return value (NET_API_STATUS) contains error */)] [2014-02-27] The function does not set the last error value, the error is returned directly and is in NET_API_STATUS format /Stoyan Sabev/
[DllImport("Netapi32.dll", CharSet=CharSet.Unicode/*, SetLastError=true //Return value (NET_API_STATUS) contains error */)] [Stoyan Sabev] The function does not set the last error value, the error is returned directly and is NET_API_STATUS form 4: NetFileClose
'NET_API_STATUS NetFileClose( 5: NetFileEnum
'NET_API_STATUS NetFileEnum(
As NET_API_STATUS NET_API_STATUS - Possible return values are NERR_Success and ERROR_NOT_ENOUGH_MEMORY
Public Enum NET_API_STATUS As UInteger
As NET_API_STATUS
(ByVal lpBuffer As IntPtr) As NET_API_STATUS
Dim status As NET_API_STATUS
If status = NET_API_STATUS.NERR_Success Then
As NET_API_STATUS NET_API_STATUS - Possible value are NERR_Success, ERROR_NOT_ENOUGH_MEMORY and ERROR_INVALID_PARAMETER.
If NetRemoteComputerSupports(ComputerName, Wanted, supports) = NET_API_STATUS.NERR_Success Then NET_API_STATUS NetSessionDel( 9: NetUseAdd
using NET_API_STATUS = System.UInt32;
internal static extern NET_API_STATUS NetUseAdd( using NET_API_STATUS = System.UInt32; 10: NetUseEnum
internal static extern NET_API_STATUS NetUseEnum(
ByRef resumeHandle As IntPtr) As NET_API_STATUS advapi32
internal static extern NET_API_STATUS NetValidatePasswordPolicy(
public NET_API_STATUS ValidationStatus;
internal enum NET_API_STATUS : uint
private static extern NET_API_STATUS NetValidatePasswordPolicyFree(ref IntPtr OutputArg);
NET_API_STATUS status = NetValidatePasswordPolicy(serverName, IntPtr.Zero, NET_VALIDATE_PASSWORD_TYPE.NetValidatePasswordChange, inputPointer, ref outputPointer);
if (status == NET_API_STATUS.NERR_Success)
if (outputArgs.ValidationStatus == NET_API_STATUS.NERR_Success) |