Desktop Functions: Smart Device Functions:
|
Search Results for "out" in [All]odbc32
static extern short SQLAllocConnect(IntPtr EnvironmentHandle, out IntPtr ConnectionHandle);
if (!isOK(SQLAllocConnect(environmentHandle, out connectionHandle))) 2: SQLAllocEnv
static extern short SQLAllocEnv(out IntPtr EnvironmentHandle);
short rc = SQLAllocEnv(out environmentHandle);
extern static short SQLAllocHandle(ushort HandleType, int InputHandle, out IntPtr OutputHandle);
Private Declare Auto Function SQLAllocHandle Lib "odbc32.dll" (ByVal HandleType As Short, ByVal InputHandle As IntPtr, ByRef OutputHandle As IntPtr) As Short
private static extern short SQLAllocHandle(short hType, IntPtr inputHandle, out IntPtr outputHandle);
short inStringLength, StringBuilder outString, short outStringLength,
out short outLengthNeeded);
StringBuilder outString = new StringBuilder(DEFAULT_RESULT_SIZE);
if (SQL_SUCCESS == SQLAllocHandle(SQL_HANDLE_ENV, henv, out henv))
if (SQL_SUCCESS == SQLAllocHandle(SQL_HANDLE_DBC, henv, out hconn))
if (SQL_NEED_DATA == SQLBrowseConnect(hconn, inString, inStringLength, outString,
DEFAULT_RESULT_SIZE, out lenNeeded))
outString.Capacity = lenNeeded;
if (SQL_NEED_DATA != SQLBrowseConnect(hconn, inString, inStringLength, outString,
lenNeeded, out lenNeeded))
txt = outString.ToString(); 4: SQLAllocStmt
static extern short SQLAllocStmt(IntPtr ConnectionHandle, out IntPtr StatementHandle);
Private Shared Function SQLAllocStmt(ByVal connectionHandle As IntPtr, <Runtime.InteropServices.Out()> _ 5: SQLBindCol
TargetType, HandleRef TargetValue, int BufferLength, out IntPtr StrLen_or_Ind);
IntPtr, <Out> ByRef StrLen_or_Ind As IntPtr) As Short
SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, out environmentHandle);
SQLAllocHandle(SQL_HANDLE_DBC, environmentHandle.ToInt32(), out dbcHandle);
short retcode = SQLDriverConnect(dbcHandle, IntPtr.Zero, connectionString, 256, completedConnString, 1024, out strLength, SQL_DRIVER_COMPLETE);
SQLAllocHandle(SQL_HANDLE_STMT, dbcHandle.ToInt32(), out stmtHandle);
SQLBindCol(stmtHandle, 3, SQL_C_CHAR, szTableName, 256, out temp);
private static extern short SQLBrowseConnect( IntPtr handleConnection, StringBuilder connectionString, short stringLength, StringBuilder outConnection, short bufferLength, out short stringLength2Ptr );
out short StringLengthPtr,
out short NumericAttributePtr);
out short StringLengthPtr,
out short NumericAttributePtr);
/// SQLDataSources returns information about a data source. This function is implemented solely by the Driver Manager.
/// <param name="ServerName">[Output] Pointer to a buffer in which to return the data source name.</param>
/// <param name="NameLength1Ptr">[Output] Pointer to a buffer in which to return the total number of bytes (excluding the null-termination byte)
/// <param name="Description">[Output] Pointer to a buffer in which to return the description of the driver associated with the data source.
/// <param name="NameLength2Ptr">[Output] Pointer to a buffer in which to return the total number of bytes (excluding the null-termination Depending on the value of Direction, you may access System DSN, User DSN or both. Since the same DSN name may be used in User and System DSN, watch out for possible duplicate values.
rc = SQLAllocHandle(SQL_HANDLE_ENV, 0, out sql_env_handle); 10: SQLDriverConnect
StringBuilder szConnStrOut,
short cbConnStrOutMax,
out short pcbConnStrOut,
ByVal cbConnStrIn As Short, ByVal szConnStrOut As Text.StringBuilder, ByVal cbConnStrOutMax As Short, _
<Runtime.InteropServices.Out()> ByRef pbcConnStrOut As Short, ByVal fDriverCompletion As Short) As Short
StringBuilder out_connect = new StringBuilder(MAX_CONNECT_LEN);
out_connect,
out len,
out native_error,
out error_size)))
if (!isOK(SQLAllocEnv(out environmentHandle)))
if (!isOK(SQLAllocConnect(environmentHandle, out connectionHandle))) 11: SQLError
out int NativeError,
out short TextLength); 12: SQLGetData
out int StrLen_or_Ind);
short rc = SQLGetData(statementHandle, colid, SQL_C_CHAR, val, val.Capacity, out size); 13: SQLGetDiagField
short bufferLength, out short actualLength); 14: SQLGetDiagRec
short record, StringBuilder sqlState, out int nativeError,
StringBuilder errorMsg, short errorMsgMax, out short errorMsgLength); 15: SQLRowCount
static extern short SQLRowCount(int StatementHandle, out long RowCount); 16: SQLTables
if (!isOK(SQLAllocStmt(connectionHandle, out statementHandle))) wintrust17: WinVerifyTrust
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] wininet18: FtpCommand 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. 19: FtpFindFirstFile
string searchFile, out WIN32_FIND_DATA findFileData, 20: InternetConnect Having a connect function for all protocols, even those that do not use persistent connections, lets an application communicate common information about several requests using a single function call. In addition, this allows for future versions of Internet protocols that do not require a connection to be established for every client request. 21: InternetCrackUrl
// (out) Pointer to a URL_COMPONENTS structure that receives the URL components
out WIN32_FIND_DATA findFileData);
/// C++ ( lpdwFlags [out]. Type: LPDWORD )<br />Pointer to a variable that receives the connection description. This
extern static bool InternetGetConnectedState(out int lpdwFlags, int dwReserved);
private static extern bool InternetGetConnectedState(out int lpdwFlags, int dwReserved);
bool isConnected = InternetGetConnectedState(out flags, 0);
out int errorCode, StringBuilder buffer, ref int bufferLength);
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
[StructLayout(LayoutKind.Sequential)] Note: couldn't figure out how to add a new fcn, so I'm adding this here:irprops
static extern uint BluetoothAuthenticateDeviceEx(IntPtr hwndParentIn, IntPtr hRadioIn, ref BLUETOOTH_DEVICE_INFO pbtdiInout, BLUETOOTH_OOB_DATA pbtOobData, uint authenticationRequirement);
static extern uint BluetoothAuthenticateDeviceEx(IntPtr hwndParentIn, IntPtr hRadioIn, ref BLUETOOTH_DEVICE_INFO pbtdiInout, BLUETOOTH_OOB_DATA pbtOobData, uint authenticationRequirement);
<StructLayout(LayoutKind.Sequential, pack:=4)> _
Public timeoutMultiplier As Byte
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto, Pack:=1)> _
<StructLayout(LayoutKind.Sequential, pack:=1)> _
<StructLayout(LayoutKind.Sequential, pack:=1)> _
static extern IntPtr BluetoothFindFirstRadio(ref Bluetooth_Find_Radio_Params pbtfrp,out IntPtr phRadio );
<Out()> ByRef hRadio As IntPtr) As IntPtr
nextRadio = BluetoothFindFirstRadio(ref parameters, out firstRadio);
[StructLayout(LayoutKind.Sequential)]
static extern IntPtr BluetoothFindFirstRadio(ref BLUETOOTH_FIND_RADIO_PARAM pbtfrp, out IntPtr phRadio);
static extern bool BluetoothFindNextRadio(IntPtr hFind, out IntPtr phRadio);
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> _ pstorec
extern static int PStoreCreateInstance(out IPStore ppProvider, IntPtr pProviderID, IntPtr pReserved, uint dwFlags); imm32
[StructLayout(LayoutKind.Sequential)]
IntPtr hKL = GetKeyboardLayout(0); winusb
public static extern bool WinUsb_GetAssociatedInterface(IntPtr InterfaceHandle,byte AssociatedInterfaceIndex,out IntPtr AssociatedInterfaceHandle); user32
/// <summary>Sets the input locale identifier (formerly called the keyboard layout handle) for the calling thread or the current process. The input locale identifier specifies a locale as well as the physical layout of the keyboard</summary>
internal static extern HKL ActivateKeyboardLayout(HKL hkl, uint Flags);
''' <summary>Sets the input locale identifier (formerly called the keyboard layout handle) for the calling thread or the current process. The input locale identifier specifies a locale as well as the physical layout of the keyboard</summary>
Public Shared Function ActivateKeyboardLayout(ByVal nkl As IntPtr, ByVal Flags As uint) As Integer - The foreground lock time-out has expired (see SPI_GETFOREGROUNDLOCKTIMEOUT in SystemParametersInfo). DeferWindowPos fills the multiple-window-position structure with information about the target position for one or more windows about to be moved. The EndDeferWindowPos function accepts the handle to this structure and repositions the windows by using the information stored in the structure. 44: BeginPaint
static extern IntPtr BeginPaint(IntPtr hwnd, out PAINTSTRUCT lpPaint);
Public Shared Function BeginPaint(ByVal hwnd As IntPtr, <Out()> ByRef lpPaint As PAINTSTRUCT) As IntPtr
static extern int BroadcastSystemMessageEx(uint flags, ref uint lpInfo, uint Msg, [MarshalAs(UnmanagedType.SysUInt)] ulong wParam, [MarshalAs(UnmanagedType.SysInt)] long lParam, out BSMINFO pbsmInfo);
[StructLayout(LayoutKind.Sequential)]
<StructLayout(LayoutKind.Sequential)> _ If you do not care about the filterStatus 47: CharLower
static extern uint CharLowerBuff([In,Out] StringBuilder lpsz, uint cchLength); 48: CharUpper
static extern uint CharUpperBuff([In,Out] StringBuilder lpsz, uint cchLength); 49: CloseClipboard I read on google about a flaw in the .Net System.Windows.Forms.Clipboard.SetDataObject try it would just error out and the second with work just fine. Well I found that 50: CreateIcon
[StructLayout(LayoutKind.Sequential)]
[StructLayout(LayoutKind.Sequential)] 52: CreatePopupMenu
// Grab some info about the file
// Get info about the directory 53: CreateWindow
[StructLayout(LayoutKind.Sequential)] 54: CreateWindowEx
/// <param name="hMenu">Handle to a menu, or specifies a child-window identifier, depending on the window style. For an overlapped or pop-up window, hMenu identifies the menu to be used with the window; it can be NULL if the class menu is to be used. For a child window, hMenu specifies the child-window identifier, an integer value used by a dialog box control to notify its parent about events. The application determines the child-window identifier; it must be unique for all child windows with the same parent window.</param>
''' <param name="hMenu">Handle to a menu, or specifies a child-window identifier, depending on the window style. For an overlapped or pop-up window, hMenu identifies the menu to be used with the window; it can be NULL if the class menu is to be used. For a child window, hMenu specifies the child-window identifier, an integer value used by a dialog box control to notify its parent about events. The application determines the child-window identifier; it must be unique for all child windows with the same parent window.</param>
hdc = Win32.BeginPaint (hWnd, out ps) ;
Win32.GetClientRect (hWnd, out rect) ;
while (Win32.GetMessage( out msg, IntPtr.Zero, 0, 0) != 0)
IntPtr hConv, IntPtr hszItem, uint wFmt, uint wType, uint dwTimeout, 56: DdeGetData
static extern uint DdeGetData(IntPtr hData, [Out] byte [] pDst, uint cbMax,
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential)]
static extern bool GetWindowRect(System.IntPtr hWnd, out RECT lpRect);
GetWindowRect(hWnd, out to);
[StructLayout(System::Runtime::InteropServices::LayoutKind::Sequential)] 58: DrawFocusRect
<StructLayout(LayoutKind.Explicit)> Public Structure Rect 59: EnableWindow This function is useful if you want to mimic the functionality of a modal window without using form.ShowDialog() method. Disable the parent window by using this function.
static extern int GetClipboardFormatName(uint format, [Out] StringBuilder lpszFormatName, int cchMaxCount); Cut off search results after 60. Please refine your search. |