Desktop Functions: Smart Device Functions:
|
Search Results for "out" in [All]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)> _ oleaut32
[MarshalAs(UnmanagedType.IUnknown)] out Object ppunk);
[MarshalAs(UnmanagedType.IUnknown)] out Object ppunk);
<MarshalAs(UnmanagedType.IUnknown), Out> ppunk As Object) As Integer 9: LoadTypeLib
static extern int LoadTypeLib(string fileName, out ITypeLib typeLib); 10: RegisterTypeLib 11: VarBstrFromDisp
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); 13: VariantInit
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
static extern bool FaxEnableRoutingMethod (IntPtr FaxPortHandle, string RoutingGuid,
Declare Function FaxEnableRoutingMethod Lib "winfax.dll" (TODO) As TODO
static extern bool FaxEnumGlobalRoutingInfo (IntPtr FaxHandle,
ref FAX_GLOBAL_ROUTING_INFO RoutingInfo, out int MethodsReturned);
Declare Function FaxEnumGlobalRoutingInfo Lib "winfax.dll" (TODO) As TODO 18: FaxEnumJobs
out int JobsReturned); 19: FaxEnumPorts
out int PortsReturned);
static extern bool FaxEnumRoutingMethods (IntPtr FaxPortHandle,
ref FAX_ROUTING_METHOD RoutingMethod, out int MethodsReturned);
Declare Function FaxEnumRoutingMethods Lib "winfax.dll" (TODO) As TODO
ref FAX_LOG_CATEGORY Categories, out int NumberCategories); 22: FaxGetPageData
[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 24: FaxSendDocument
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
static extern bool FaxSetRoutingInfo (IntPtr FaxPortHandle, string RoutingGuid,
[Out] StringBuilder RoutingInfoBuffer, int RoutingInfoBufferSize);
Declare Function FaxSetRoutingInfo Lib "winfax.dll" (TODO) As TODO 27: FaxStartPrintJob 28: FAX_PRINT_INFO [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public String OutputFileName; hidReturn Value - Returns TRUE if the routine succeeds. Otherwise, it returns FALSE if the buffer was not a preparsed data buffer.
Public Shared Function HidD_GetAttributes(DeviceObject As Handle, out Attributes As HIDD_ATTRIBUTES) As Boolean
[ StructLayout( LayoutKind.Sequential ) ]
<StructLayout(LayoutKind.Sequential)> _ Attributes [out] 31: HidD_GetFeature
Declare Function HidD_GetFeature Lib "hid.dll" (ByVal HidDeviceObject As SafeFileHandle, out lpReportBuffer As Byte, ReportBufferLength As Int32) As Boolean 32: HidD_GetHidGuid
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. 34: HIDP_CAPS
[StructLayout(LayoutKind.Sequential, Pack = 1)]
UInt16 OutputReportByteLength;
UInt16 NumberOutputButtonCaps;
UInt16 NumberOutputValueCaps;
UInt16 NumberOutputDataIndices;
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).
Specifies the number of output HIDP_BUTTON_CAPS structures that HidP_GetButtonCaps returns.
Specifies the number of output HIDP_VALUE_CAPS structures that HidP_GetValueCaps returns.
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. 35: HidP_GetCaps
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 ); 37: CreateProfile
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 39: GetGPOList
out IntPtr pGPOList); 40: LoadUserProfile [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.
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 44: EnumPwrSchemes
static extern bool GetCurrentPowerPolicies(out GLOBAL_POWER_POLICY pGlobalPowerPolicy,
out POWER_POLICY pPowerPolicy);
if (!GetCurrentPowerPolicies(out gpp, out pp))
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); 49: ReadPwrScheme
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); 55: GdipCloneBrush
static extern int GdipCloneBrush(HandleRef brush, out IntPtr clonebrush);
static extern int GdipCloneCustomLineCap(HandleRef customCap, out IntPtr clonedCap); 57: GdipCloneFont
out IntPtr clonefontfamily); 58: GdipCloneImage
out IntPtr cloneImageattr); 59: GdipCloneMatrix
static extern int GdipCloneMatrix(HandleRef matrix, out IntPtr cloneMatrix); 60: GdipClonePath
static extern int GdipClonePath(HandleRef path, out IntPtr clonepath); Cut off search results after 60. Please refine your search. |