Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "IntPtr" in [All]

odbc32

.

static extern short SQLAllocConnect(IntPtr EnvironmentHandle, out IntPtr ConnectionHandle);

.

  IntPtr connectionHandle  = IntPtr.Zero;

.

static extern short SQLAllocEnv(out IntPtr EnvironmentHandle);

.

    IntPtr environmentHandle = IntPtr.Zero;

.

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);

.

    private static extern short SQLSetEnvAttr(IntPtr henv, int attribute, IntPtr valuePtr, int strLength);

.

    private static extern short SQLFreeHandle(short hType, IntPtr handle);

.

    private static extern short SQLBrowseConnect(IntPtr hconn, StringBuilder inString,

.

        IntPtr henv = IntPtr.Zero;

.

        IntPtr hconn = IntPtr.Zero;

.

            if (SQL_SUCCESS == SQLSetEnvAttr(henv, SQL_ATTR_ODBC_VERSION, (IntPtr)SQL_OV_ODBC3, 0))

.

        if (hconn != IntPtr.Zero)

.

        if (henv != IntPtr.Zero)

.

static extern short SQLAllocStmt(IntPtr ConnectionHandle, out IntPtr StatementHandle);

.

    Private Shared Function SQLAllocStmt(ByVal connectionHandle As IntPtr, <Runtime.InteropServices.Out()> _

.

    ByRef statementHandle As IntPtr) As Short

.

TargetType, HandleRef TargetValue, int BufferLength, out IntPtr StrLen_or_Ind);

.

IntPtr, <Out> ByRef StrLen_or_Ind As IntPtr) As Short

.

            IntPtr environmentHandle = IntPtr.Zero;

.

            IntPtr dbcHandle = IntPtr.Zero;

.

            IntPtr stmtHandle = IntPtr.Zero;

.

            IntPtr temp = IntPtr.Zero;

.

            IntPtr szTableName = Marshal.AllocHGlobal(256);

.

            SQLSetEnvAttr(environmentHandle.ToInt32(), SQL_ATTR_ODBC_VERSION, new IntPtr(SQL_OV_ODBC3), 0);

.

            short retcode = SQLDriverConnect(dbcHandle, IntPtr.Zero, connectionString, 256, completedConnString, 1024, out strLength, SQL_DRIVER_COMPLETE);

.

  private static extern short SQLBrowseConnect( IntPtr handleConnection, StringBuilder connectionString, short stringLength, StringBuilder outConnection, short bufferLength, out short stringLength2Ptr );

.

        IntPtr StatementHandle,

.

        IntPtr StatementHandle,

.

    Private Function SQLConnect(ByVal hDBc As IntPtr, ByVal servername As String, ByVal serverlen As Short, _

.

static extern short SQLDataSources(IntPtr EnvironmentHandle, short Direction,

.

    IntPtr sql_env_handle = IntPtr.Zero;

.

    rc = SQLSetEnvAttr(sql_env_handle, SQL_ATTR_ODBC_VERSION, (IntPtr)SQL_OV_ODBC3, 0);

.

    if (sql_env_handle != IntPtr.Zero)

.

    Dim hEnv As IntPtr

.

public static extern short  SQLDisconnect(IntPtr ConnectionHandle);

.

    public static extern short SQLDriverConnect(IntPtr  hdbc,

.

        IntPtr    hwnd,

.

    Private Shared Function SQLDriverConnect(ByVal hdbc As IntPtr, ByVal hwnd As IntPtr, ByVal szConnStrIn As String, _

.

                string msg  = GetError(IntPtr.Zero) + "\nconnection string:\n\t" + connstr;

.

    string GetError(IntPtr stmt)

.

            connectionHandle = IntPtr.Zero;

.

            environmentHandle = IntPtr.Zero;

.

static extern short  SQLError(IntPtr EnvironmentHandle,

.

        IntPtr        ConnectionHandle,

.

        IntPtr        StatementHandle,

.

    Private Shared Function SQLExecDirect(ByVal statementHandle As IntPtr, ByVal statementText As String, _

.

  static extern short SQLFetch(IntPtr StatementHandle);

.

    Private Function SQLFetch(ByVal statementHandle As IntPtr) As Short

.

  static extern short SQLFreeConnect(IntPtr ConnectionHandle);

.

static extern short SQLFreeEnv(IntPtr EnvironmentHandle);

.

Declare Function SQLFreeEnv Lib "odbc32.dll" (ByVal Handle As IntPtr) As Short

.

static extern short SQLFreeHandle(ushort HandleType, IntPtr InputHandle);

.

Declare Function SQLFreeHandle Lib "odbc32.dll" (ByVal HandleType As Short, ByVal InputHandle As IntPtr) As Short

.

static extern short SQLFreeStmt(IntPtr StatementHandle, ushort Option);

.

    Private Shared Function SQLFreeStmt(ByVal statementhandle As IntPtr, ByVal [option] As UShort) As Short

.

    static extern short SQLGetData(IntPtr StatementHandle,

.

    Private Shared Function SQLGetData(ByVal statementHandle As IntPtr, ByVal columnNumber As UShort, _

.

    ByVal targetType As Short, ByVal targetValue As IntPtr, ByVal bufferLength As Integer, _

.

   short record, short diagIdentifier, IntPtr diagInfoPtr,

.

Declare Function SQLGetDiagRec Lib "odbc32.dll" (ByVal handleType As Short, ByVal statementHandle As IntPtr,

.

    Private Shared Function SQLMoreResults(ByVal statementHandle As IntPtr) As Short

.

    IntPtr envHandle,

.

    IntPtr attrValue,

.

    IntPtr envHandle,

.

    ByVal henv As IntPtr, _

.

    ByVal valuePtr As IntPtr, _

.

    static extern short SQLTables(IntPtr StatementHandle,

.

        statementHandle = IntPtr.Zero;

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);

.

    IntPtr hRadio,

.

    ByVal hRadio As IntPtr, _

.

static extern bool BluetoothEnableIncomingConnections(IntPtr hRadio,bool fEnabled);

.

    ByVal hRadio As IntPtr, _

.

private static extern uint BluetoothEnumerateInstalledServices(IntPtr hRadio, ref Bluetooth_Device_Info pbtdi, ref uint pcServices,  Guid[] pGuidServices);

.

static extern bool BluetoothFindDeviceClose(IntPtr hFind);

.

    ByVal hFind As IntPtr) As Integer

.

static extern IntPtr BluetoothFindFirstDevice(ref BLUETOOTH_DEVICE_SEARCH_PARAMS searchParams, ref BLUETOOTH_DEVICE_INFO deviceInfo);

.

    ByRef deviceInfo As BluetoothDeviceInfo) As IntPtr

.

        Public hRadio As IntPtr

.

static extern IntPtr BluetoothFindFirstRadio(ref Bluetooth_Find_Radio_Params pbtfrp,out IntPtr phRadio );

.

    <Out()> ByRef hRadio As IntPtr) As IntPtr

.

        IntPtr firstRadio;

.

        IntPtr nextRadio;

.

    static extern bool CloseHandle(IntPtr handle);

.

    static extern IntPtr BluetoothFindFirstRadio(ref BLUETOOTH_FIND_RADIO_PARAM pbtfrp, out IntPtr phRadio);

.

static extern bool BluetoothFindNextDevice(IntPtr hFind, ref BLUETOOTH_DEVICE_INFO pbtdi);

.

    ByVal hFind As IntPtr, _

.

static extern bool BluetoothFindNextRadio(IntPtr hFind, out IntPtr phRadio);

.

private static extern bool BluetoothFindRadioClose(ref IntPtr hFind);

.

    Private Shared Function BluetoothFindRadioClose(ByVal hFind As IntPtr) As Integer

.

private static extern uint BluetoothGetDeviceInfo(IntPtr hRadio,ref BLUETOOTH_DEVICE_INFO pbtdi);

.

private static extern UInt32 BluetoothGetRadioInfo(IntPtr hRadio, ref Bluetooth_Radio_Info pRadioInfo);

.

    ByVal hRadio As IntPtr, _

.

static extern bool BluetoothIsConnectable(IntPtr hRadio);

.

    Private Shared Function BluetoothIsConnectable(ByVal hRadio As IntPtr) As Integer

.

static extern bool BluetoothIsDiscoverable(IntPtr hRadio);

.

    Private Shared Function BluetoothIsDiscoverable(ByVal hRadio As IntPtr) As Integer

.

private static extern uint BluetoothSetServiceState(IntPtr hRadio, ref BLUETOOTH_DEVICE_INFO pbtdi, ref   Guid pGuidService, DwServiceFlags dwServiceFlags);

pstorec

.

extern static int PStoreCreateInstance(out IPStore ppProvider, IntPtr pProviderID, IntPtr pReserved, uint dwFlags);

gdiplus

.

   int height, int format, HandleRef srcbitmap, out IntPtr dstbitmap);

.

static extern int GdipCloneBrush(HandleRef brush, out IntPtr clonebrush);

.

static extern int GdipCloneCustomLineCap(HandleRef customCap, out IntPtr clonedCap);

.

   out IntPtr clonefontfamily);

.

   out IntPtr cloneImageattr);

.

static extern int GdipCloneMatrix(HandleRef matrix, out IntPtr cloneMatrix);

.

static extern int GdipClonePath(HandleRef path, out IntPtr clonepath);

.

static extern int GdipClonePen(HandleRef pen, out IntPtr clonepen);

.

static extern int GdipCloneRegion(HandleRef region, out IntPtr cloneregion);

.

static extern int GdipCloneStringFormat(HandleRef format, out IntPtr newFormat);

.

   bool isFilled, out IntPtr adjustableArrowCap);

.

   out IntPtr bitmap);

.

static extern int GdipCreateBitmapFromGdiDib(IntPtr bminfo, IntPtr pixdat, ref IntPtr image);

.

private static bool Save(string filename, IntPtr bminfo, IntPtr pixdat)

.

    IntPtr img = IntPtr.Zero;

.

    if((st != 0) || (img == IntPtr.Zero))

.

    st = GdipSaveImageToFile(img, filename, ref clsid, IntPtr.Zero);

.

   HandleRef graphics, out IntPtr bitmap);

.

   HandleRef hpalette, out IntPtr bitmap);

.

static extern int GdipCreateBitmapFromHICON(HandleRef hicon, out IntPtr bitmap);

.

static extern IntPtr GdipEmfToWmfBits(HandleRef hEmf, uint uBufferSize,

.

private declare function GdipEmfToWmfBits lib "gdiplus.dll"(ByVal hEmf as IntPtr, _

.

static extern void GdiplusShutdown(ref IntPtr token);

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: