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 "out" in [All]

irprops

.
Summary
The BluetoothAuthenticateDeviceEx function sends an authentication request to a remote Bluetooth device. Additionally, this function allows for out-of-band data to be passed into the function call for the device being authenticated.
.

static extern uint BluetoothAuthenticateDeviceEx(IntPtr hwndParentIn, IntPtr hRadioIn, ref BLUETOOTH_DEVICE_INFO pbtdiInout, BLUETOOTH_OOB_DATA pbtOobData, uint authenticationRequirement);

.
Summary
The BluetoothAuthenticateDeviceEx function sends an authentication request to a remote Bluetooth device. Additionally, this function allows for out-of-band data to be passed into the function call for the device being authenticated.
.

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

.
Summary
Updates the computer local cache about the device.

oleaut32

.

   [MarshalAs(UnmanagedType.IUnknown)] out Object ppunk);

.

   [MarshalAs(UnmanagedType.IUnknown)] out Object ppunk);

.

   <MarshalAs(UnmanagedType.IUnknown), Out> ppunk As Object) As Integer

.

static extern int LoadTypeLib(string fileName, out ITypeLib typeLib);

.
Summary
The RegisterTypeLib function adds information about a type library to the registry.
.

static extern int VarBstrFromDisp(IntPtr Disp, int lcid, int dwFlags, [MarshalAs(UnmanagedType.BStr)] out string pbstrOut);

.

Declare Function VarBstrFromDisp Lib "oleaut32.dll" (Byval Disp as IntPtr, Byval lcid As Integer, Byref pbstrOut as String) As Integer

.

   string pbstrOut;

.

   int hr = VarBstrFromDisp(Marshal.GetIDispatchForObjectInContext(pComObject), Thread.CurrentThread.CurrentCulture.LCID, 0, out pbstrOut);

.

    private extern static int VariantChangeTypeEx([MarshalAs(UnmanagedType.Struct)]out object pvargDest,

.

There is a lot to write about automation variables. E.g. a parameter can be optional and thus, have a default value which is in the TYpeLib. Or VT_ERROR | DISP_E_PARAMNOTFOUND (which is equivalent to VarType() = vbMissing). This is passed to .NET as Type.Missing. See sample code.

.

     int hr = VariantChangeTypeEx(out Conv, ref OptionValue, Thread.CurrentThread.CurrentCulture.LCID, 0, (short)VarEnum.VT_BSTR);

.

Public Shared Sub memset(<[In](), Out()> ByVal dest As IntPtr, _

winfax

.

static extern bool FaxCompleteJobParams (out IntPtr JobParams, out IntPtr CoverpageInfo);

.

static extern bool FaxCompleteJobParams (out FAX_JOB_PARAM JobParams, out FAX_COVERPAGE_INFO CoverpageInfo);

.

if (FaxCompleteJobParams(out job, out cover) == true))

.

if (FaxCompleteJobParams(out pJob, out pCover) == true))

.

static extern bool FaxConnectFaxServer (string MachineName, out IntPtr FaxHandle);

.

C# signature changed second parameter from IntPtr to out IntPtr, since the value is modified

.
Summary
Enables or disables a fax routing method for a specific fax device.
.

static extern bool FaxEnableRoutingMethod (IntPtr FaxPortHandle, string RoutingGuid,

.

Declare Function FaxEnableRoutingMethod Lib "winfax.dll" (TODO) As TODO

.
Documentation
[FaxEnableRoutingMethod] on MSDN
.
Summary
Enumerates all fax routing methods associated with a specific fax server.
.

static extern bool FaxEnumGlobalRoutingInfo (IntPtr FaxHandle,

.

   ref FAX_GLOBAL_ROUTING_INFO RoutingInfo, out int MethodsReturned);

.

Declare Function FaxEnumGlobalRoutingInfo Lib "winfax.dll" (TODO) As TODO

.
Documentation
[FaxEnumGlobalRoutingInfo] on MSDN
.

   out int JobsReturned);

.

   out int PortsReturned);

.
Summary
Enumerates all fax routing methods for a specific fax device.
.

static extern bool FaxEnumRoutingMethods (IntPtr FaxPortHandle,

.

   ref FAX_ROUTING_METHOD RoutingMethod, out int MethodsReturned);

.

Declare Function FaxEnumRoutingMethods Lib "winfax.dll" (TODO) As TODO

.
Documentation
[FaxEnumRoutingMethods] on MSDN
.

   ref FAX_LOG_CATEGORY Categories, out int NumberCategories);

.

   [Out] StringBuilder buffer, out int BufferSize,

.

   out int ImageWidth, out int ImageHeight);

.

static extern bool FaxGetRoutingInfo (IntPtr FaxPortHandle, string RoutingGuid,

.

   [Out] StringBuilder RoutingInfoBuffer, out int RoutingInfoBufferSize);

.

Declare Function FaxGetRoutingInfo Lib "winfax.dll" (TODO) As TODO

.
Documentation
[FaxGetRoutingInfo] on MSDN
.

   string FileName, out int FaxJobId,

.

static extern bool FaxSetGlobalRoutingInfo (IntPtr FaxHandle,

.

   ref FAX_GLOBAL_ROUTING_INFO RoutingInfo);

.

Declare Function FaxSetGlobalRoutingInfo Lib "winfax.dll" (TODO) As TODO

.
Documentation
[FaxSetGlobalRoutingInfo] on MSDN
.

static extern bool FaxSetRoutingInfo (IntPtr FaxPortHandle, string RoutingGuid,

.

   [Out] StringBuilder RoutingInfoBuffer, int RoutingInfoBufferSize);

.

Declare Function FaxSetRoutingInfo Lib "winfax.dll" (TODO) As TODO

.
Documentation
[FaxSetRoutingInfo] on MSDN
.
Summary
Starts printing an outbound fax transmission.
.

   ref FAX_PRINT_INFO PrintInfo, out int FaxJobId,

.

[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]

.

    public String OutputFileName;

hid

.
Summary
The routine releases the resources that the HID class driver allocated to hold a top-level collection's preparsed data.
.

Return Value - Returns TRUE if the routine succeeds. Otherwise, it returns FALSE if the buffer was not a preparsed data buffer.

.
Summary
The routine returns the attributes of a specified top-level collection.
.

Public Shared Function HidD_GetAttributes(DeviceObject As Handle, out Attributes As HIDD_ATTRIBUTES) As Boolean

.

[ StructLayout( LayoutKind.Sequential ) ]

.

<StructLayout(LayoutKind.Sequential)> _

.

Attributes [out]

.

Declare Function HidD_GetFeature Lib "hid.dll" (ByVal HidDeviceObject As SafeFileHandle, out lpReportBuffer As Byte, ReportBufferLength As Int32) As Boolean

.

static extern void HidD_GetHidGuid(out Guid Guid);

.

HidD_GetHidGuid(out guid);

.

The HidD_SetOutputReport routine sends an output report to a top-level collection.

.

    static private extern Boolean HidD_SetOutputReport(

.

    Pointer to a caller-allocated output report buffer that the caller uses to specify a report ID.

.

    For more information about this parameter, see the Remarks section.

.

    Specifies the size, in bytes, of the report buffer. The report buffer must be large enough to hold the output report -- excluding its report ID, if report IDs are used -- plus one additional byte that specifies a nonzero report ID or zero.

.

If HidD_SetOutputReport succeeds, it returns TRUE; otherwise, it returns FALSE.

.
Documentation
[HidD_SetOutputReport] on MSDN
.
Summary
The HIDP_CAPS structure contains information about a top-level collection's capability.
.

    [StructLayout(LayoutKind.Sequential, Pack = 1)]

.

      UInt16 OutputReportByteLength;

.

      UInt16 NumberOutputButtonCaps;

.

      UInt16 NumberOutputValueCaps;

.

      UInt16 NumberOutputDataIndices;

.

OutputReportByteLength

.

Specifies the maximum size, in bytes, of all the output reports (including the report ID, if report IDs are used, which is prepended to the report data).

.

NumberOutputButtonCaps

.

Specifies the number of output HIDP_BUTTON_CAPS structures that HidP_GetButtonCaps returns.

.

NumberOutputValueCaps

.

Specifies the number of output HIDP_VALUE_CAPS structures that HidP_GetValueCaps returns.

.

NumberOutputDataIndices

.

Specifies the number of data indices assigned to buttons and values in all output reports.

.

Callers of the HIDClass support routines use the information provided in this structure when a called routine requires, as input, the size of a report type, the number of link collection nodes, the number of control capabilities, or the number of data indices.

.
Summary
The HidP routine returns a top-level collection's HIDP_CAPS structure.
.

    out HIDP_CAPS Capabilities

.

  Capabilities [out]

.

    Pointer to a caller-allocated buffer that the routine uses to return a collection's HIDP_CAPS structure.

userenv

.

static extern bool CreateEnvironmentBlock( out IntPtr lpEnvironment, IntPtr hToken, bool bInherit );

.

    static extern int CreateProfile( [MarshalAs(UnmanagedType.LPWStr)] String pszUserSid, [MarshalAs(UnmanagedType.LPWStr)] String pszUserName, [Out, MarshalAs(UnmanagedType.LPWStr)] System.Text.StringBuilder pszProfilePath, uint cchProfilePath);

.

            public static extern int CreateProfile([MarshalAs(UnmanagedType.LPWStr)] String pszUserSid, [MarshalAs(UnmanagedType.LPWStr)] String pszUserName, [Out, MarshalAs(UnmanagedType.LPWStr)] System.Text.StringBuilder pszProfilePath, uint cchProfilePath);

.

  __out     PGROUP_POLICY_OBJECT* ppGPOList

.

        out IntPtr pGPOList);

.

[in, out] Pointer to a PROFILEINFO structure. LoadUserProfile will fail and return ERROR_INVALID_PARAMETER if the dwSize member of the structure is not set to sizeof(PROFILEINFO) or if the lpUserName member is NULL. For more information, see the following Remarks section.

httpapi

.

     IntPtr pOutputConfigInfo,

.

     int OutputConfigInfoLength,

.

     out int pReturnLength,

.

Depending on the value of ConfigId, both pInputConfigInfo and pOutputConfigInfo should point to a different type of structure. If it wasn't for this, I could redifine the PInvoke signature to explicitly specify the underlying structure type.

.
ConfigId Value OutputConfigInfo Structure Type
.

     HTTP_SERVICE_CONFIG_URLACL_SET outputConfigInfo = new HTTP_SERVICE_CONFIG_URLACL_SET();

.

     IntPtr pOutputConfigInfo = Marshal.AllocCoTaskMem(0);

.

         pOutputConfigInfo,

.

         out returnLength,

.

         Marshal.FreeCoTaskMem(pOutputConfigInfo);

.

         pOutputConfigInfo = Marshal.AllocCoTaskMem(Convert.ToInt32(returnLength));

.

         pOutputConfigInfo,

.

         out returnLength,

.

        outputConfigInfo = (HTTP_SERVICE_CONFIG_URLACL_SET)Marshal.PtrToStructure(pOutputConfigInfo, typeof(HTTP_SERVICE_CONFIG_URLACL_SET));

.

     return outputConfigInfo;

.

    [StructLayout(LayoutKind.Sequential)]

.

    [StructLayout(LayoutKind.Sequential)]

.

    [StructLayout(LayoutKind.Sequential)]

.

    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]

.

        public int DefaultRevocationUrlRetrievalTimeout;

.

    [StructLayout(LayoutKind.Sequential, Pack = 2)]

.

        configSslParam.DefaultRevocationUrlRetrievalTimeout = 0;

powrprof

.

     IntPtr lpOutputBuffer,

.

     UInt32 nOutputBufferSize

.

Private Shared Function CallNtPowerInformation(InformationLevel As Int32, lpInputBuffer As IntPtr, nInputBufferSize As UInt32, lpOutputBuffer As IntPtr, nOutputBufferSize As UInt32) As UInt32

.

    [StructLayout(LayoutKind.Sequential)]

.

        [Out] PROCESSOR_POWER_INFORMATION[] lpOutputBuffer,

.

        int nOutputBufferSize

.
Summary
Enumerates all power schemes. For each power scheme enumerated, the function calls a callback function with information about the power scheme
.

static extern bool GetCurrentPowerPolicies(out GLOBAL_POWER_POLICY pGlobalPowerPolicy,

.

     out POWER_POLICY pPowerPolicy);

.

if (!GetCurrentPowerPolicies(out gpp, out pp))

.
Summary
Retrieves information about the system power capabilities.
.

static extern bool GetPwrCapabilities(out SYSTEM_POWER_CAPABILITIES systemPowerCapabilites);

.

    static extern bool GetPwrCapabilities(out SYSTEM_POWER_CAPABILITIES systemPowerCapabilites);

.

        GetPwrCapabilities(out SYSTEM_POWER_CAPABILITIES);

.

    /// Check out if there is a power botton present in the system.

.

    /// Check out if there is a sleep botton present in the system.

.

    delegate int DeviceNotifyCallbackRoutine(IntPtr context, int type, IntPtr setting);

.

    [StructLayout(LayoutKind.Sequential)]

.

    public DeviceNotifyCallbackRoutine Callback;

.

        recipient.Callback = new DeviceNotifyCallbackRoutine(DeviceNotifyCallback);

.

static extern bool ReadGlobalPwrPolicy(out GLOBAL_POWER_POLICY pGlobalPowerPolicy);

.

static extern bool ReadPwrScheme(uint uiID, out POWER_POLICY pPowerPolicy);

gdiplus

.

   ref GPRECT layoutRect, HandleRef format);

.

   ref GPRECT dstRect, ref GPRECT srcRect, int unit, out int state);

.

static extern int GdipBeginContainer2(HandleRef graphics, out int state);

.

   out int argb);

.

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

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


 
Access PInvoke.net directly from VS: