Desktop Functions: Smart Device Functions:
|
Search Results for "bind" in [All]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); odbc324: SQLBindCol
static extern short SQLBindCol(HandleRef StatementHandle, short ColumnNumber, short
Shared Function SQLBindCol(ByVal StatementHandle As HandleRef, ByVal ColumnNumber As _
//Bind the 3rd column (Table Name) in the statement's return data to szTableName
SQLBindCol(stmtHandle, 3, SQL_C_CHAR, szTableName, 256, out temp); 5: SQLFreeStmt
const int SQL_UNBIND = 2; 6: SQLTables
const int SQL_UNBIND = 2; Constants7: PROPERTYKEY
public static PropertyKey PKEY_ParsingBindContext = new PropertyKey( 0xDFB9A04D, 0x362F, 0x4CA3, 0xB3, 0x0B, 0x02, 0x54, 0xB1, 0x7B, 0x5B, 0x84, 100);
foreach (FieldInfo fi in classType.GetFields(BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly))
BindingFlags flags = BindingFlags.Instance | BindingFlags.Public;// | BindingFlags.FlattenHierarchy; 8: WINERROR
/// The string binding is invalid.
public const int RPC_S_INVALID_STRING_BINDING = 1700;
/// The binding handle is not the correct type.
public const int RPC_S_WRONG_KIND_OF_BINDING = 1701;
/// The binding handle is invalid.
public const int RPC_S_INVALID_BINDING = 1702;
/// There are no bindings.
public const int RPC_S_NO_BINDINGS = 1718;
/// The binding does not contain an entry name.
/// The binding does not contain any authentication information.
public const int RPC_S_BINDING_HAS_NO_AUTH = 1746;
/// The list of RPC servers available for the binding of auto handles has been exhausted.
/// The binding handles passed to a remote procedure call do not match.
/// There are no more bindings.
public const int RPC_S_NO_MORE_BINDINGS = 1806;
/// The binding handle does not contain all required information.
public const int RPC_S_BINDING_INCOMPLETE = 1819;
/// The directory service binding must be renegotiated due to a change in the server
/// The application binding data format is invalid.
/// Not able to bind to the source
public const int OLE_E_CANT_BINDTOSOURCE = (int)(0x8004000A - 0x100000000);
/// Moniker is not bindable
public const int MK_E_NOTBINDABLE = (int)(0x800401E8 - 0x100000000);
/// OLE service could not bind object
/// Client's supplied SSPI channel bindings were incorrect.
public const int SEC_E_BAD_BINDINGS = (int)(0x80090346 - 0x100000000); shell32
static extern void SHBindToParent(
Function SHBindToParent( _
Declare Auto Function SHBindToParent Lib "shell32.dll" ( _
public static extern int SHBindToParent (
SHBindToParent (
void BindToObject(
void BindToStorage(
STORAGE = &H8 ' supports BindToObject(IID_IStorage)
FOLDER = &H20000000 ' support BindToObject(IID_IShellFolder)
STREAM = &H400000 ' supports BindToObject(IID_IStream)
public static extern void SHParseDisplayName([MarshalAs(UnmanagedType.LPWStr)] string name, IntPtr bindingContext, [Out] out IntPtr pidl, uint sfgaoIn, [Out] out uint psfgaoOut); public static extern void SHParseDisplayName( [MarshalAs(UnmanagedType.LPWStr)] string name, IntPtr bindingContext,[Out()] out IntPtr pidl, uint sfgaoIn, [Out()] out uint psfgaoOut); Private Shared Sub SHParseDisplayName(<MarshalAs(UnmanagedType.LPWStr)> ByVal name As String, ByVal bindingContext As IntPtr, <Out()> ByRef pidl As IntPtr, ByVal sfgaoIn As UInt32, <Out()> ByRef sfgaoOut As UInt32) ole3213: BindMoniker
static extern int BindMoniker(UCOMIMoniker pmk, uint grfOpt,
Declare Function BindMoniker Lib "ole32.dll" (pmk As UCOMIMoniker, grfOpt As Integer, _ 14: BIND_OPTS 15: CoGetObject 16: CreateBindCtx
/// Returns a pointer to an implementation of IBindCtx (a bind context object).
/// This object stores information about a particular moniker-binding operation.
/// <param name="ppbc">Address of an IBindCtx* pointer variable that receives
/// the interface pointer to the new bind context object. When the function is
/// successful, the caller is responsible for calling Release on the bind context.
/// A NULL value for the bind context indicates that an error occurred.</param>
static extern int CreateBindCtx(uint reserved, out IBindCtx ppbc);
static extern int MkParseDisplayName(UCOMIBindCtx pbc,
/// <param name="pbc">A pointer to the IBindCtx interface on the bind context object to be used in this binding operation.</param>
int MkParseDisplayName(IBindCtx pbc, string szUserName, ref int pchEaten, out IMoniker ppmk); 18: StgOpenStorage
BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.InvokeMethod, Structures19: AI
/// The socket address will be used in a call to the bind function. 20: FILTERREGION
''' structure is used by the IFilter::BindRegion method.
IMAGE_DLLCHARACTERISTICS_NO_BIND = 0x0800,
''' IMAGE_DLLCHARACTERISTICS_NO_BIND // Do not bind this image
' Some values are: IMAGE_DLLCHARACTERISTICS_NO_BIND (Do not bind this image)
' Some values are: IMAGE_DLLCHARACTERISTICS_NO_BIND (Do not bind this image)
IMAGE_DLLCHARACTERISTICS_NO_BIND = 0x0800, 25: SERVICE_STATUS
SERVICE_ACCEPT_NETBINDCHANGE = 0x00000010, advapi3226: 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, 29: 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'). 30: 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'). 31: RegQueryValue
Dim environmentRegHKey As System.Reflection.FieldInfo = environmentReg.GetType.GetFields(Reflection.BindingFlags.NonPublic Or Reflection.BindingFlags.Instance)(0) 32: RegQueryValueEx
Dim environmentRegHKey As System.Reflection.FieldInfo = environmentReg.GetType.GetFields(Reflection.BindingFlags.NonPublic Or Reflection.BindingFlags.Instance)(0) ws2_3233: bind |