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]

getuname

.

If you want to obtain (localized) names of Unicode characters, instead calling this function you can also load strings from the same place the function loads them. On Windows 7 it means from file \System32\{Culture}\getuname.dll.mui. ({Culture} is name of culture you want to obtain localized resources for e.g. en-US). An advantage of this approach is that you can choose culture without need to switch current Windows language (Windows Ultimate edition only).

.

     ''' <exception cref="ArgumentOutOfRangeException"><paramref name="codePoint"/> is greater than 0x10FFFF</exception>

.

     If codePoint > &H10FFFFUI Then Throw New ArgumentOutOfRangeException("codePoint")

hhctrl

.

é犼ƒº•ø—®=c» 6Rda‚#’‡6}Cž¥´›ØkbùñVÍ{Åô0…2ä:]n€X¦Ðí_Sëb‡– Èô£Zˆ00IUFï[P]¥Ì^Í*È"±A||ÿObËÐná[ý œƒ·K5øÇ V¾4ä 6¶3'ÁôëÊa[7§‡ÄhiåÚ´tfºÎ§ãä¿´W ¯.Žÿ˜ðÉ9Âæ‚ÙKMç×Öu.kZ¸… ߺÍ:­~?—ÇKð €Y‡²q‘Îjâ”Pý4¿%ã\ûÿéîýoUt<”Ϲ©«Ñ¬Nïw}uS¼q@ô)㎁”——¤y$䘵ÿ v1”ÌO/˜ÆXcè+iDS»€ÐPuϱW’õC}@?÷-Z3Ü(Í _ùŒsÎÐ=

.

    [StructLayout(LayoutKind.Sequential), CLSCompliant(false)]

.

    [StructLayout(LayoutKind.Sequential)]

.

    [StructLayout(LayoutKind.Sequential)]

.

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

.

    param.pszText = "Without specifying the font instead of text you may obtain the abracadabra";

ntdsapi

.

    out IntPtr hDS

.

    out IntPtr phDS

.

    out IntPtr ppResult);

.

      // Input name mapped to more than one output name.

.

      // Input name found, but not the associated output format.

.

      // without going out on the wire.

.

      // Perform a syntactical mapping at the client (if possible) without

.

      // going out on the wire.  Returns DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING

.

      // See sddl.h for SID binary <--> text conversion routines.

.

         uint res = DsBind(domainControllerName, dnsDomainName, out handle);

.

         uint err = DsCrackNames(handle, flags, formatOffered, formatDesired, (uint)((names == null) ? 0 : names.Length), names, out pResult);

.

      out IntPtr phDS);

.

      out IntPtr ppResult);

.

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

.

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

.

        result = DsMapSchemaGuids(phDS, (uint)myGuids.Length, myGuids, out guidMap);

.
Summary
The DsGetDomainControllerInfo function retrieves data about the domain controllers in a domain (see DS_DOMAIN_CONTROLLER_INFO_2 structure)
.

     out uint InfoCount,

.

     out IntPtr pInf

.

        string DnsDomainName, out IntPtr phDS

.

    [StructLayout(LayoutKind.Sequential)]

.

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

.

        out uint InfoCount,

.

        out IntPtr pInf);

.

        uint ret = NtdsHelper.DsBind("sdbad10004", "dom1.ad.sys", out hDC);

.

        ret = NtdsHelper.DsGetDomainControllerInfo(hDC, "dom1.ad.sys", 2, out nInfo, out pDCinfos);

.

     out IntPtr AuthIdentity

.

        out IntPtr ppGuidMap);

.

        result = DsBind(domainController, domain, out phDS);

.

        result = DsMapSchemaGuids(phDS, (uint)myGuids.Length, myGuids, out guidMap);

.

        out IntPtr ppGuidMap);

.

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

.

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

.

      out IntPtr phDS);

wininet

.

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.

.

   string searchFile, out WIN32_FIND_DATA findFileData,

.

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.

.

    // (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:

.
Summary
Contains information about an entry in the Internet cache
.

<StructLayout(LayoutKind.Explicit, Size:=80)> _

.
Summary
Contains information about an entry in the Internet cache
.

<StructLayout(LayoutKind.Explicit, Size:=80)> _

ntdll

.

public static extern int NtCreateFile(out SafeFileHandle handle, FileAccess access, OBJECT_ATTRIBUTES* objectAttributes, IO_STATUS_BLOCK* ioStatus, ref long allocSize, uint fileAttributes, FileShare share, uint createDisposition, uint createOptions, IntPtr eaBuffer, uint eaLength);

.

        out  Microsoft.Win32.SafeHandles.SafeFileHandle handle,

.

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

.

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

.

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

.

                out hFile,

.

   out SafeFileHandle DirectoryHandle,

.

     out h, 1, ref attr);

.

       true, context == 0, ref context, out len);

.

   out SafeFileHandle LinkHandle,

.

     out h, 0x80000000/*GENERIC_READ*/, ref attr);

.

   st = Win32.NtQuerySymbolicLinkObject(h, ref buf, out len);

.
Summary
Retrieves information about the specified directory object.
.

   out uint ReturnLength);

.

    [StructLayout(LayoutKind.Explicit)]

.

            out DateTime creationTime, out DateTime lastAccessTime, out DateTime lastWriteTime, out DateTime changeTime, out ulong fileAttributes, out string errMsg) {

.

        brc = Nt.GetFourFileTimes(path2file, out creationTime, out lastAccessTime, out lastWriteTime, out changeTime, out fileAttributesAfter, out errMsg);

.

    //        sample printout:

.
Summary
Retrieves information about the specified process. This function is available in Windows 2000 and Windows XP, but it may be altered or unavailable in subsequent versions.
.

ref PROCESS_BASIC_INFORMATION pbi, int cb, out int pSize);

.

        IntPtr outLong = Marshal.AllocHGlobal(sizeof(long));

.

        IntPtr outPtr = IntPtr.Zero;

.

        queryStatus = NtQueryInformationProcess(hProc, 0, pbi, (uint)Marshal.SizeOf(typeof(PROCESS_BASIC_INFORMATION)), outLong);

.

        Marshal.FreeHGlobal(outLong);

.

        outPtr = PtrToStructure<PROCESS_BASIC_INFORMATION>(pbi, typeof(PROCESS_BASIC_INFORMATION)).PebBaseAddress;

.

        return outPtr;

.

            int queryStatus = NtQueryInformationProcess(hProc, (PROCESSINFOCLASS)0, ref pbi, pbi.Size, out sizeInfoReturned);

.

   out int ReturnedLength);

.

NtQuerySymbolicLinkObject(h, ref buffer, out len);

.

public static extern NtStatus NtQuerySystemInformation(SYSTEM_INFORMATION_CLASS InfoClass, IntPtr Info, uint Size, out uint Length);

.

        var result = NtQuerySystemInformation(infoClass, infoPtr, infoLength, out infoLength);

.

        result = (UInt32)NativeMethods.NtQuerySystemInformation(NativeMethods.SYSTEM_INFORMATION_CLASS.SystemMemoryListInformation, buff, result, out returnSize);

.

public static extern uint NtQuerySystemTime(out long SystemTime);

.

NtQuerySystemTime(out t);

.

static extern int NtQueryTimerResolution(out int MinimumResolution, out int MaximumResolution, out int CurrentResolution);

.

uint UnicodeStringParameterMask, IntPtr Parameters, uint ValidResponseOption, out uint Response);

.

static extern int NtSetTimerResolution(int DesiredResolution, bool SetResolution, out int CurrentResolution );

.

    bool IsThreadPrivilege, out bool PreviousValue);

.
Summary
The RtlInitializeSid routine initializes a security identifier (SID) structure.
.

private static extern Int32 RtlInitializeSid([In, Out] ref SID Sid, [In] ref SID_IDENTIFIER_AUTHORITY IdentifierAuthority, byte SubAuthorityCount);

.

[StructLayout(LayoutKind.Sequential, Size = 6)]

.

       throw new ArgumentOutOfRangeException("value", "Value must be an array of 6 bytes.");

.

[StructLayout(LayoutKind.Sequential)]

.

   out UNICODE_STRING DestinationString,

.

    SystemErrorPortTimeouts = 0x0073,

.

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

.

        result = (UInt32)NativeMethods.NtQuerySystemInformation(NativeMethods.SYSTEM_INFORMATION_CLASS.SystemMemoryListInformation, buff, result, out returnSize);

.

      out IntPtr sectionHandle, uint desiredAccess, ref OBJECT_ATTRIBUTES attributes);

query

.

          [MarshalAs(UnmanagedType.IUnknown)] object pUnkOuter,

.

           <MarshalAs(UnmanagedType.IUnknown)> ByVal pUnkOuter As Object, _

ncrypt

.

=œš¸î¹#wœ€RVõʺd§¥¨=îV)«H¼…š“ù à Õ¹ù§lâ8JSJ4™ãúJöɓ×ð„þŽC–B¦ë(…¼;РhiŽ•Þ 2ŽçÜâ#oÆF×KÌáíG"IÒÍÑp—›|–MÌA ðdóÞ~ò¯ƒŒ§Jad’ɵo³¬Öye`L;ѤxˆyLº1¿Km#¶Uq–DŒx’¤¾‚¤À‰eá×xËo’/ͧÃð0]@u«-&Xñ$žÔå „Fì:1Îà­Òi3<:Ÿšï¬·9å°ÜPi×óƼ¦Ý×óߛ0XIH —¬<sù“2¯]øVþÞbÂT{q>ò„–L¿4ÚèۂdÙé¹·ãþæ6$‘†·u_>‹ýåÝY©L£LqĀñÃÓþEäÚȶуzÿ@J”ÀR=u›9!ÆGÏN‚“(å•fPpÿ–À_ÃÏ¡/Rlæà'Zo‹¨ ÏBÁûáš¶(¹8N"IÏá]€u\Ó8NRßÍmñùg¹•-ÝKÝÒº|”ÓugûU•QUE¯+¤Ãê ñ·’ì*gè ˆ–®©ÄGNø¿ k,ö0Y2XÞ¡PÒ\½jnîé ÒWØæHý㓃JÝèôØëK½ М׮bzÍ( Õ¦ÄÓØê!ùAÍÛ8Â} å‚é§=…CQ:á&Çl!?ÿs7îè3)QÃWrÎUÆOUTó!—jŠ…XŒ{Õö b¦ÙÚ¼ón|…îþÿ6%¤ÂC‰õ»js9e;CŽjñ?÷?R¶Ixiz.X¬aÑdsçDÁ€p‹§&IíçbÐb¥,j0XJ´æžq÷ó ˆÿ=8Eæ:xÿÏ3ò˜LkNÿ«ó9õ&

.

    IntPtr hProvider, out IntPtr hKey,

.

                [MarshalAs(UnmanagedType.LPArray)] byte[] pbOutput,

.

                int cbOutput,

.

            [MarshalAs(UnmanagedType.LPArray)] byte[] pbOutput,

.

            int cbOutput,

.

                     out IntPtr hKey,  

.

    static extern int NCryptOpenStorageProvider(out IntPtr hProvider, [MarshalAs(UnmanagedType.LPWStr)] string szProviderName, int flags);

mpr

.
Summary
The MultinetGetConnectionPerformance function returns information about the expected performance of a connection used to access a network resource.
.

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

.

        /// In the absence of information about the actual connection,

.

        /// the current connection with the resource, with any routing

.

        /// The connection is not being routed.

.

        /// routers that limit performance. Consequently, if

.

        NOTROUTED = 0x00000002,

.

    const int WNCON_NOTROUTED = 0x00000002;

.

    [StructLayout(LayoutKind.Sequential)]

.

// [StructLayout(LayoutKind.Sequential)]

.

  //      [StructLayout(LayoutKind.Sequential)]

.

[StructLayout(LayoutKind.Sequential)]

.

    [StructLayout(LayoutKind.Sequential)]

.

    out IntPtr lphEnum);

.

       out ptrHandle );

.

// Find out what remote device a local mapping is to

.

(Without any Error-Handling)

.

[StructLayout(LayoutKind.Sequential)]

setupapi

.

static extern int CM_Get_Child(out UInt32 pdnDevInst, UInt32 dnDevInst, int ulFlags);

.

outputDeviceInstance, Caller-supplied pointer to the device instance handle to the child node that this function retrieves. The retrieved handle is bound to the local machine.

.

static extern int CM_Get_Device_ID_Size(out int pulLen, UInt32 dnDevInst, int flags = 0);

.

  out Microsoft.Win32.RegistryValueKind pulRegDataType,

.

if (CR_SUCCESS == CM_Get_Parent(out parent, devinfo_data.DevInst, 0))

.

   CM_Get_DevNode_Registry_Property(devinst, CM_DRP_DRIVER, out kind, IntPtr.Zero, ref length, 0);

.

     if (CR_SUCCESS == CM_Get_DevNode_Registry_Property(devinst, CM_DRP_DRIVER, out kind, buffer, ref length, 0))

.

static extern int CM_Get_DevNode_Status(out UInt32 status, out UInt32 probNum, UInt32 devInst, int flags);

.

   out UInt32 pdnDevInst,

.

      CM_Get_Parent(out ptrPrevious, da.DevInst, 0);

.

static extern int CM_Get_Sibling(out UInt32 pdnDevInst, UInt32 dnDevInst, int ulFlags);

.

outputDeviceInstance, Caller-supplied pointer to the device instance handle to the sibling node that this function retrieves. The retrieved handle is bound to the local machine.

.

static extern int CM_Locate_DevNodeA(out IntPtr pdnDevInst, string pDeviceID, int ulFlags);

.

    int apiResult = CM_Locate_DevNodeA(out pdnDevInst, deviceId, CM_LOCATE_DEVNODE_NORMAL);

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


 
Access PInvoke.net directly from VS: