Desktop Functions: Smart Device Functions:
|
Search Results for "bind" in [All]Enums
/** Unbind source PE. */
DELTA_FLAG_UNBIND = (0x00002000), /* flags[ 13 ] */ 2: DM
/// Long-edge binding, that is, the long edge of the page is vertical.
/// Short-edge binding, that is, the long edge of the page is horizontal. 3: DMDUP
/// Short-edge binding, that is, the long edge of the page is horizontal.
/// Long-edge binding, that is, the long edge of the page is vertical. 4: HRESULT
///Not able to bind to the source
[Description("Not able to bind to the source")]
public const int OLE_E_CANT_BINDTOSOURCE = unchecked((int)0x8004000A);
///Moniker is not bindable
[Description("Moniker is not bindable")]
public const int MK_E_NOTBINDABLE = unchecked((int)0x800401E8);
///OLE service could not bind object
[Description("OLE service could not bind object")]
///Client's supplied SSPI channel bindings were incorrect.
[Description("Client's supplied SSPI channel bindings were incorrect.")]
public const int SEC_E_BAD_BINDINGS = unchecked((int)0x80090346);
System.Reflection.FieldInfo[] fieldsInfo = typeof(HRESULT).GetFields(System.Reflection.BindingFlags.Public|System.Reflection.BindingFlags.Static);
'''Not able to bind to the source
<Description("Not able to bind to the source")> _
Public Const OLE_E_CANT_BINDTOSOURCE As Integer = CInt(&H8004000aUI)
'''Moniker is not bindable
<Description("Moniker is not bindable")> _
Public Const MK_E_NOTBINDABLE As Integer = CInt(&H800401e8UI)
'''OLE service could not bind object
<Description("OLE service could not bind object")> _
'''Client's supplied SSPI channel bindings were incorrect.
<Description("Client's supplied SSPI channel bindings were incorrect.")> _
Public Const SEC_E_BAD_BINDINGS As Integer = CInt(&H80090346UI)
Dim fieldsInfo As System.Reflection.FieldInfo() = GetType(HRESULT).GetFields(System.Reflection.BindingFlags.[Public] Or System.Reflection.BindingFlags.[Static])
/// Unable to bind IFilter for embedded object
/// Unable to bind IFilter for linked object 6: IFILTER_INIT
/// IFilter::Init method only once and does not call IFilter::BindRegion.
' IFilter::Init method only once and does not call IFilter::BindRegion.
FEATURE_SAFE_BINDTOOBJECT = 16,
KerbAddBindingCacheEntryMessage = 10, 9: RasError
/// <summary>823. Received Crypto-Binding type-length-value (TLV) is invalid. </summary>
ERROR_PEAP_CRYPTOBINDING_INVALID,
/// <summary>824. Crypto-Binding TLV was not received. </summary>
ERROR_PEAP_CRYPTOBINDING_NOTRECEIVED, 10: SFGAOF
SFGAO_STORAGE = 0x00000008, // supports BindToObject(IID_IStorage)
SFGAO_FOLDER = 0x20000000, // support BindToObject(IID_IShellFolder)
SFGAO_STREAM = 0x00400000, // supports BindToObject(IID_IStream) ntdsapi11: DsBind
CharSet = CharSet.Unicode, EntryPoint = "DsBindWithCredW", SetLastError = true)]
public static extern UInt32 DsBindWithCred(
Declare Function DsBindWithCred Lib "ntdsapi.dll" (TODO) As TODO 12: DsBindWithCred
CharSet = CharSet.Unicode, EntryPoint = "DsBindWithCredW", SetLastError = true)]
public static extern UInt32 DsBindWithCred(
Declare Function DsBindWithCred Lib "ntdsapi.dll" (TODO) As TODO 13: DsCrackNames The success of the name conversion request depends on where the client is bound. Clients bind to specific instances of the directory service using some variant of DsBind. If bound to a global catalog, the scope of the name mapping is the entire forest. If not bound to a global catalog, the scope of the name mapping is the domain not covered by a global catalog for that domain controller. If not bound to a global catalog and a name is not found, but the input name unambiguously identifies its domain and this domain is in the forest, then the return data identifies the DNS domain name for the domain of interest. Clients are expected to use this data to bind to the correct domain controller or global catalog and call DsCrackNames again with the new bind handle.
uint res = DsBind(domainControllerName, dnsDomainName, out handle);
uint ret = DsUnBind(ref handle);
System.Diagnostics.Debug.WriteLineIf(ret != 0, "Error unbinding :\t" + ret.ToString());
public static extern uint DsBind(
public static extern uint DsUnBind(ref IntPtr phDS);
static public extern uint DsBind(
static public extern uint DsUnBind(ref IntPtr phDS);
Console.WriteLine("binding to domain controllert");
uint ret = NtdsHelper.DsBind("sdbad10004", "dom1.ad.sys", out hDC);
NtdsHelper.DsUnBind(ref hDC); 16: DsMapSchemaGuids Requires DsBind, recommend DsUnBind and DsFreeSchemaGuidMap
result = DsBind(domainController, domain, out phDS);
result = DsUnBind(phDS);
Console.WriteLine("Couldn't bind to the domain {0} on domain controller {1}.", domain, domainController);
static public extern uint DsBind(
static extern uint DsUnBind( 17: DsUnBind
static public extern uint DsUnBind(ref IntPtr phDS);
CharSet = CharSet.Unicode, EntryPoint = "DsUnBindW", SetLastError = true)]
public static extern UInt32 DsUnBind(
Declare Function DsUnBind Lib "ntdsapi.dll" (TODO) As TODO gdi3218: GdipLoadImage
return (Bitmap) imageType.InvokeMember("FromGDIplus", BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.InvokeMethod, null, null, new object[] { loadingImage }); advapi3219: ControlService
NETBINDADD = 0x00000007,
NETBINDREMOVE = 0x00000008,
NETBINDENABLE = 0x00000009,
NETBINDDISABLE = 0x0000000A,
NETBINDCHANGE = 0x00000010,
NETBINDADD = &H7
NETBINDREMOVE = &H8
NETBINDENABLE = &H9
NETBINDDISABLE = &HA
NETBINDCHANGE = &H10
BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.NonPublic;
fieldInfo = typeof (System.ServiceProcess.ServiceBase).GetField ("statusHandle", bindingFlags); BindingFlags.NonPublic | BindingFlags.Instance);
BindingFlags.GetField | BindingFlags.Instance | BindingFlags.NonPublic,
BindingFlags.GetField | BindingFlags.Instance | BindingFlags.NonPublic,
BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.SetField, 22: RegOpenKey
Dim privateConstructors = Reflection.BindingFlags.Instance Or Reflection.BindingFlags.NonPublic
Dim Info As System.Reflection.FieldInfo = Type.GetField("hkey", System.Reflection.BindingFlags.NonPublic Or System.Reflection.BindingFlags.Instance)
Dim privateConstructors As System.Reflection.BindingFlags = System.Reflection.BindingFlags.Instance Or System.Reflection.BindingFlags.NonPublic
registryKeyType.GetField("hkey", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
//Get the BindingFlags for private contructors
System.Reflection.BindingFlags privateConstructors = System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic;
//Get the BindingFlags for public contructors
System.Reflection.BindingFlags publicConstructors = System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public; // NOTE: this has been changed since .NET 3.5 (was 'private'). 23: RegOpenKeyEx
Dim privateConstructors = Reflection.BindingFlags.Instance Or Reflection.BindingFlags.NonPublic
Dim Info As System.Reflection.FieldInfo = Type.GetField("hkey", System.Reflection.BindingFlags.NonPublic Or System.Reflection.BindingFlags.Instance)
Dim privateConstructors As System.Reflection.BindingFlags = System.Reflection.BindingFlags.Instance Or System.Reflection.BindingFlags.NonPublic
registryKeyType.GetField("hkey", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
//Get the BindingFlags for private contructors
System.Reflection.BindingFlags privateConstructors = System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic;
//Get the BindingFlags for public contructors
System.Reflection.BindingFlags publicConstructors = System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public; // NOTE: this has been changed since .NET 3.5 (was 'private'). 24: RegQueryValue
Dim environmentRegHKey As System.Reflection.FieldInfo = environmentReg.GetType.GetFields(Reflection.BindingFlags.NonPublic Or Reflection.BindingFlags.Instance)(0) 25: RegQueryValueEx
Dim environmentRegHKey As System.Reflection.FieldInfo = environmentReg.GetType.GetFields(Reflection.BindingFlags.NonPublic Or Reflection.BindingFlags.Instance)(0) opengl32
GL_TEXTURE_BINDING_1D = 0x8068,
GL_TEXTURE_BINDING_2D = 0x8069,
public static extern void glBindTexture(uint target, uint texture); iphlpapi
//bind interface to an ip address
result = IpPacketFilter.PfBindInterfaceToIPAddress(interfaceHandle, PFADDRESSTYPE.PF_IPV4, ref lLocalIp);
[DllImport("iphlpapi.dll", EntryPoint = "PfBindInterfaceToIPAddress")]
static extern uint PfBindInterfaceToIPAddress(IntPtr Interface_handle, uint pfatType, ref uint IPAddress);
Declare Function PfBindInterfaceToIPAddress Lib "iphlpapi.dll" (TODO) As TODO
/// The PfBindInterfaceToIPAddress function associates an interface with the IP stack index having the specified address.
//bind interface to an ip address
result = IpPacketFilter.PfBindInterfaceToIPAddress(interfaceHandle, PFADDRESSTYPE.PF_IPV4, ref lLocalIp);
/// <param name="bUseLog">[in] Specifies whether to bind the log to this interface. If this member is TRUE, the log is bound to this interface.</param>
//bind interface to an ip address
result = IpPacketFilter.PfBindInterfaceToIPAddress(interfaceHandle, PFADDRESSTYPE.PF_IPV4, ref lLocalIp); ws2_3230: bind
|