Desktop Functions: Smart Device Functions:
|
Search Results for "set" in [All]odbc32
[DllImport("odbc32.dll",CharSet=CharSet.Unicode)]
private static extern short SQLSetEnvAttr(IntPtr henv, int attribute, IntPtr valuePtr, int strLength);
[DllImport("odbc32.dll", CharSet = CharSet.Ansi)]
if (SQL_SUCCESS == SQLSetEnvAttr(henv, SQL_ATTR_ODBC_VERSION, (IntPtr)SQL_OV_ODBC3, 0)) 2: SQLAllocStmt
<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _ 3: SQLBindCol
//Set the environment attribute SQL_ATTR_ODBC_VERSION to the latest version of ODBC driver
SQLSetEnvAttr(environmentHandle.ToInt32(), SQL_ATTR_ODBC_VERSION, new IntPtr(SQL_OV_ODBC3), 0);
[DllImport( "odbc32.dll", CharSet = CharSet.Ansi )] 7: SQLConnect
[DllImport("odbc32.dll",CharSet=CharSet.Unicode)]
<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _
[DllImport("odbc32.dll", CharSet=CharSet.Ansi))] You must provide an Environment Handle provided by SQLAllocHandle as the first parameter. SQLAllocHandle is a replacement for SQLAllocEnv. When using SQLAllocHandle, you must call SQLSetEnvAttr and set the SQL_ATTR_ODBC_VERSION attribute to SQL_OV_ODBC3 before calling SQLDataSources. You must release Environment handle with SQLFreeHandle at the end.
rc = SQLSetEnvAttr(sql_env_handle, SQL_ATTR_ODBC_VERSION, (IntPtr)SQL_OV_ODBC3, 0);
throw new Exception("Could not setup ODBC Environment handle");
[DllImport("odbc32.dll",CharSet=CharSet.Ansi)] 10: SQLDriverConnect
[DllImport("odbc32.dll",CharSet=CharSet.Ansi)]
<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _ 11: SQLError
[DllImport("odbc32.dll",CharSet=CharSet.Ansi)] 12: SQLExecDirect
[DllImport("odbc32.dll",CharSet=CharSet.Unicode)]
<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _ 13: SQLFetch
<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _ 14: SQLFreeConnect
[DllImport("odbc32.dll",CharSet=CharSet.Ansi)] 15: SQLFreeEnv
[DllImport("odbc32.dll",CharSet=CharSet.Ansi)] 16: SQLFreeHandle
[DllImport("odbc32.dll", CharSet = CharSet.Unicode)] 17: SQLFreeStmt
[DllImport("odbc32.dll",CharSet=CharSet.Ansi)]
<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _
const int SQL_RESET_PARAMS = 3; 18: SQLGetData 19: SQLGetDiagField
[DllImport("odbc32.dll", CharSet=CharSet.Unicode)] 20: SQLGetDiagRec
[DllImport("odbc32.dll", CharSet=CharSet.Unicode)] 21: SQLMoreResults
[DllImport("odbc32.dll",CharSet=CharSet.Unicode)]
<Runtime.InteropServices.DllImport("odbc32.dll", CharSet:=Runtime.InteropServices.CharSet.Unicode)> _ 22: SQLRowCount
[DllImport("odbc32.dll", CharSet=CharSet.Unicode)] 23: SQLSetEnvAttr
[DllImport("odbc32.dll", SetLastError=true)]
static extern short SQLSetEnvAttr ( [DllImport("odbc32.dll", SetLastError=true)]
static extern short SQLSetEnvAttr (
Private Declare Auto Function SQLSetEnvAttr Lib "odbc32.dll" ( _ 24: SQLTables
[DllImport("odbc32.dll",CharSet=CharSet.Ansi)]
const int SQL_RESET_PARAMS = 3; wintrust25: WinVerifyTrust
[DllImport("wintrust.dll", ExactSpelling = true, SetLastError = false, CharSet = CharSet.Unicode)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
[DllImport("wintrust.dll", ExactSpelling = true, SetLastError = false, CharSet = CharSet.Unicode)] glu3226: gluNewQuadric
[DllImport("glu32.dll", SetLastError=true)] wininet
SetLastError = true,
CharSet = CharSet.Auto,
SetLastError:=True, _
CharSet:=CharSet.Auto, _
[DllImport(@"wininet", SetLastError = true, CharSet = CharSet.Auto, EntryPoint = "DeleteUrlCacheGroup", CallingConvention = CallingConvention.StdCall)]
SetLastError:=True, _
CharSet:=CharSet.Auto, _
[DllImport(@"wininet",SetLastError=true,CharSet=CharSet.Auto,EntryPoint="FindFirstUrlCacheEntryA",CallingConvention=CallingConvention.StdCall)]
SetLastError:=True, _
CharSet:=CharSet.Auto, _
<DllImport("wininet.dll", SetLastError:=True, _
CharSet:=CharSet.Auto, _
[DllImport("wininet.dll", SetLastError=true, CharSet=CharSet.Auto, CallingConvention=CallingConvention.StdCall)]
SetLastError:=True, _
CharSet:=CharSet.Auto, _
SetLastError:=True, _
CharSet:=CharSet.Auto, _ 33: FtpCommand
[DllImport("wininet.dll", CharSet=CharSet.Ansi, SetLastError=true, ExactSpelling=true)] fExpectResponse (in) A Boolean value that indicates whether the application expects a data connection to be established by the FTP server. This must be set to TRUE if a data connection is expected, or FALSE otherwise. dwFlags(in) A parameter that can be set to one of the following values. phFtpCommand (out) A pointer to a handle that is created if a valid data socket is opened. The fExpectResponse parameter must be set to TRUE for phFtpCommand to be filled.
[DllImport("wininet.dll", SetLastError=true, CharSet=CharSet.Auto)]
<DllImport("wininet.dll", SetLastError := True, CharSet := CharSet.Auto)> _ 35: FtpDeleteFile
[DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)] 36: FtpFindFirstFile
[DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)]
[DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)] 38: FtpGetFile
[DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)] Useful flags setting for binary download: INTERNET_FLAG_TRANSFER_BINARY + INTERNET_FLAG_RELOAD
[DllImport("wininet.dll", EntryPoint = "InternetConnectW", CharSet = CharSet.Auto, SetLastError = true)]
[DllImport("wininet.dll", EntryPoint = "InternetOpenW", CharSet = CharSet.Auto, SetLastError = true)]
[DllImport("wininet.dll", EntryPoint = "FtpGetFile", SetLastError = true, CharSet = CharSet.Auto)]
[DllImport("wininet.dll", EntryPoint = "FtpOpenFile", SetLastError = true, CharSet = CharSet.Auto)]
public ushort FTPPort { get; set; }
public string FTPSite { get; set; }
public string FTPUsername { get; set; }
public string FTPPassword { get; set; }
public string SourceFileName { get; set; }
public string DesctinationFileName { get; set; }
public FTPTransferType TransferType { get; set; } 39: FtpPutFile
[DllImport("wininet.dll", SetLastError=true, CharSet=CharSet.Auto)]
[DllImport("wininet.dll", SetLastError=true, CharSet = CharSet.Auto)] 41: FtpRenameFile
[DllImport("wininet.dll", CharSet = CharSet.Auto)]
[DllImport("wininet.dll", CharSet=CharSet.Auto, SetLastError=true)]
static extern bool FtpSetCurrentDirectory(IntPtr hFtpConnection, string lpszDirectory);
Declare Function FtpSetCurrentDirectory Lib "wininet.dll" Alias "FtpSetCurrentDirectoryA" (ByVal hConnect As IntPtr, ByVal lpszDirectory As String) As Boolean Dim changed As Boolean = FtpSetCurrentDirectory(hINetConn, changePath) 43: HttpOpenRequest
[DllImport("wininet.dll", SetLastError=true)] 44: HttpQueryInfo
[DllImport("wininet.dll", SetLastError=true)] 45: HttpSendRequest [DllImport("wininet.dll", CharSet = CharSet.Auto, SetLastError = true)]
[DllImport("wininet.dll", SetLastError=true)] 47: InternetAutoDial
[DllImport("wininet.dll", SetLastError=true)]
[DllImport("wininet.dll", SetLastError=true)]
[DllImport("wininet.dll", SetLastError = true)]
[DllImport("wininet.dll", SetLastError = true)]
[DllImport("wininet.dll", SetLastError=true)] 51: InternetConnect
[DllImport("wininet.dll", SetLastError=true, CharSet=CharSet.Auto)]
Number of the TCP/IP port on the server to connect to. Can be one of the values in the following list. If this parameter is set to INTERNET_INVALID_PORT_NUMBER, the function uses the default port for the specified service. These values do not cause the function to use this protocol. The value sets the port to be used. A flag must be used to set the service.
Address of a null-terminated string that contains the password to use to log on. If both lpszPassword and lpszUsername are NULL, the function uses the default anonymous password. In the case of FTP, the default anonymous password is the user's e-mail name. If lpszPassword is NULL, but lpszUsername is not NULL, the function uses a blank password. The following table describes the behavior for the four possible settings of lpszUsername and lpszPassword:
[DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)]
/// is connected.If FALSE is returned, the INTERNET_CONNECTION_CONFIGURED flag may be set to indicate that autodial is
[DllImport("wininet.dll", SetLastError=true)]
[DllImport("wininet.dll", SetLastError = true)]
[DllImport("wininet.dll", CharSet = CharSet.Auto, SetLastError = true)]
[DllImport("wininet.dll", CharSet = CharSet.Auto, SetLastError = true)]
[DllImport("wininet.dll", CharSet = CharSet.Auto, SetLastError = true)] 56: InternetHangUp
[DllImport("wininet.dll", SetLastError=true)] 57: InternetOpen
[DllImport("wininet.dll", SetLastError=true, CharSet=CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
/// Connection name to set/query options
/// Number of options to set/query
[DllImport("wininet.dll", SetLastError=true)]
[DllImport("wininet.dll", SetLastError=true)]
<DllImport("wininet.dll", SetLastError:=True)> Shared Function InternetQueryOption(ByVal hInternet As IntPtr, ByVal dwOption As UInteger, ByVal lpBuffer() As Char, ByRef lpdwBufferLength As Integer) As Boolean In order to set new proxy settings use InternetSetOption. Cut off search results after 60. Please refine your search. |