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]

winscard

.

     out int phCard,

.

     out UInt32 pdwActiveProtocol);

.

SCARD_SHARE_DIRECT = 0x00000003 - Direct control of the reader, even without a card

.

error CS1502: The best overloaded method match for 'PCSC_ContactlessNet.SmartCard.SCardConnect(System.IntPtr, string, uint, uint, out int, out uint)' has some invalid arguments

.

error CS1503: Argument '5': cannot convert from 'System.IntPtr*' to 'out int'

.

error CS1503: Argument '6': cannot convert from 'int*' to 'out uint'

.

static extern int SCardEstablishContext(uint dwScope, IntPtr pvReserved1, IntPtr pvReserved2, out IntPtr phContext);

.

Public Shared Function SCardEstablishContext(dwScope as UInteger, pvReserved1 as IntPtr,  pvReserved2 as IntPtr, <out>() phContext as IntPtr) As Integer

.

    out IntPtr phContext);

.

        ret = SCardEstablishContext(2, IntPtr.Zero, IntPtr.Zero, out hContext);

.

    /// <param name="dwTimeout">The maximum amount of time, in milliseconds, to wait for an action. A value of zero causes the function to return immediately. A value of INFINITE causes this function never to time out.</param>

.

static extern SCardFunctionReturnCodes SCardGetStatusChange(int hContext, int dwTimeout, [In, Out] SCARD_READERSTATE[] rgReaderStates, int cReaders);

.

    SCARD_E_TIMEOUT =           0x8010000A,

.

ret = SCardEstablishContext(SCARD_SCOPE_USER,IntPtr.Zero,IntPtr.Zero,out hContext);

.

  [StructLayout(LayoutKind.Sequential)]

.

     out byte RecvBuff,

.

If you use a struct rather than a class for SCARD_IO_REQUEST, don't forget to add "ref" to the pioRecvPci parameter in the signature. Alternatively, if you don't care about the returned protocol control information, change the pioRecvPci parameter to an "IntPtr" and pass "IntPtr.Zero" in as this parameter

.

        int outBytes = receivedUID.Length;

.

        int status = SCardTransmit(_hCard, ref request, ref sendBytes[0], (uint)sendBytes.Length, ref request, out receivedUID[0], ref outBytes);

.

        UID = receivedUID.Take(8).ToArray(); //only take the first 8, the last 2 bytes are not part of the UID of the card (iClass 2k cards...not sure about others)

.

    internal static extern uint SCardGetStatusChange(IntPtr hContext, UInt32 dwTimeout, [In, Out] SCARD_READERSTATE[] rgReaderStates, UInt32 cReaders);

.

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

propsys

.

static extern int PSGetItemPropertyHandler(IShellItem punkItem, bool fReadWrite, ref Guid riid, out IPropertyStore ppv);

.

     int hr = PSGetItemPropertyHandler(shellitem, fReadWrite, ref iPropStoreGuid, out result);    

winspool

.

static extern int DocumentProperties(IntPtr hwnd, IntPtr hPrinter, [MarshalAs(UnmanagedType.LPWStr)] string pDeviceName, IntPtr pDevModeOutput, IntPtr pDevModeInput, int fMode);

.

static extern int DocumentProperties(IntPtr hWnd, IntPtr hPrinter, string pDeviceName, IntPtr pDevModeOutput, IntPtr pDevModeInput, fModes fMode);

.

    Private Shared Function DocumentProperties(ByVal hwnd As IntPtr, ByVal hPrinter As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal pDeviceName As String, ByVal pDevModeOutput As IntPtr, ByVal pDevModeInput As IntPtr, ByVal fMode As Integer) As Integer

.

Doesn't work on a x64 system. (i.e. this declaration is wrong for x64, I'm just not quite sure why.). MH:I tested the code extensivly and I think the param "IntPtr pDevModeInput" must not have the "ref" flag. If it has the initial state of the dialog is wrong. EP: Yup, you're right! Thanks!!! I've been trying to figure out why it doesn't work on some drivers for a few weeks now! "ref" removed.

.

   int result = DocumentProperties(IntPtr.Zero, printerHandle, printerName, pdevmode, IntPtr.Zero, fModes.DM_OUT_BUFFER);

.

I believe the issue(s) discussed re:x64 is actually an odd idiosyncracy under Windows Server 2008 R2 x64, but is not a x86/x64 problem per se. At least testing this under Win7 x64, I have no issues. However, under W2K8 x64, the OutBuffer and InBuffer must NOT be the same (in Win7 x64 this works OK). ALSO, the call to set doc properties with fMode = 14 (Prompt | In | Out) and OutBuffer = IntPtr.Zero CANNOT possibly correct, as in this case there is no place to put the resulting Devmode. Good code shouldn't use "magic numbers" anyway. The following values from WinSpool.h should be used instead of "14" or "0" for the last parameter in this call:

.

    public const uint DM_OUT_BUFFER = DM_COPY;

.

    public const uint DM_OUT_DEFAULT = DM_UPDATE;

.

If I target x64 or AnyCPU, everything is working fine. However, because of other constraints, I had to target x86 and couldn't make it work without using the IntPtr.Zero fix. Now it works in every configuration.

.

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

.

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

.

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

.

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

.

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

.

        /// Version number of the driver. This comes out of the version structure of the driver.

.

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

.
Summary
The EnumJobs function retrieves information about a specified set of print jobs for a specified printer.
.

   out UInt32 pcbNeeded,    // bytes received or required

.

   out UInt32 pcReturned    // number of jobs received

.

    <StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)> Structure JOB_INFO_1

.

    <StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)> Structure SYSTEMTIME

.

    'this call retrieves no data, but does retrieve the about of buffer needed

.

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

.

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

.

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

.

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

.

private static extern bool FlushPrinter(IntPtr hPrinter,IntPtr pBuf,Int32 cbBuf,out Int32 pcWritten,Int32 cSleep);

.

                              [Out] StringBuilder outPath,

.

static extern uint GetPrinterData(IntPtr hPrinter, string pValueName, out uint pType, byte[] pData, uint nSize, out uint pcbNeeded);

.

                              [Out] StringBuilder outPath,

.

                              [Out] StringBuilder outPath,

.

static extern bool GetPrintProcessorDirectory(StringBuilder pName, StringBuilder pEnv, int Level, [Out] StringBuilder outPath, int bufferSize,

.

                          [Out] StringBuilder outPath,

.

static extern int OpenPrinter(string pPrinterName, out IntPtr phPrinter, ref PRINTER_DEFAULTS pDefault);

.

static extern int OpenPrinter(string pPrinterName, out IntPtr phPrinter, IntPtr pDefault);

.

private static extern bool OpenPrinter([MarshalAs(UnmanagedType.LPStr)] string szPrinter, out IntPtr hPrinter, Int32 pDefault);

.

static extern unsafe bool OpenPrinter(string pPrinterName, out IntPtr phPrinter, PRINTER_DEFAULTS pDefault);

.

OpenPrinter(printerName, out pHandle, defaults);

27: print
.

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

.

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

.

    static extern bool ReadPrinter(IntPtr hPrinter, IntPtr pBuf, int cbBuf, out int pNoBytesRead);

.

Optionally call SendMessageTimeout() to notify running programs of the change:

.

    pinvokeResult = SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, IntPtr.Zero,

.

        IntPtr.Zero, SendMessageTimeoutFlags.SMTO_NORMAL, 1000, out innerPinvokeResult);

.

        pinvokeResult = SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, IntPtr.Zero,

.

            IntPtr.Zero, SendMessageTimeoutFlags.SMTO_NORMAL, 1000, out innerPinvokeResult);

.

Turns out that there are some clever and powerful tools in Visual Studio 2005 and 2008 for working with the Management Classes (although couldn’t find it in the “Standard Edition” installed on this machine, definitely exists in my laptop’s Visual Studio). You can use Server Explorer to navigate a treeview to your management class (in this example, the Printers node), right-click on it and select “Generate Managed Class”. This will automagically create a strongly-typed C#.Net class representing the object model of the WMI Printers Class, with all its properties and methods.

.

private static extern bool WritePrinter(IntPtr hPrinter, IntPtr pBytes, UInt32 dwCount, out UInt32 dwWritten);

.

    if( OpenPrinter( szPrinterName.Normalize(), out hPrinter, IntPtr.Zero ) )

.

            bSuccess = WritePrinter(hPrinter, pBytes, dwCount, out dwWritten);

.

    // about why not.

.

              IntPtr OutputData, uint cbOutputData,out uint cbOutputNeeded,out uint dwStatus);

.

     if (OpenPrinter(xcvName,out hXcv, ref Defaults ))

.

        uint cbOutputNeeded;

.

        if (XcvData(hXcv, "IPAddress", IntPtr.Zero, 0, buf, 256, out cbOutputNeeded, out dwStatus))

Interfaces

.

\���`�y�vx<�:�@p�L�;�V�:60��f��o���WqZ��T�K��)����bo��WR���J�XOgp�q(��6d��}pJy������Ք�x��Ͱɤ֝����R�B!9��c3��;A�z@8�!E����#��Blެ���AP|U//�[�>$�hL͋�l }gn�>��<�#C�"�xM����w~�068x�G�����籣�y�zcx6(y9���U�0��-�e�1�}��`�8�֎�O����p_�OHBQ�k�=��(���r�yu��{%��;�'H<�V�z6դ������20x��ݽaߪ,U�_� ��Ɋ%ԩ��x:A�Ǻ�a�Zw�$�<�Qv��T��4ޠ��A���V����an4�|�&��[������#Q�D'�z#]��3�Kl��2���W��1qp��雎B�d�X �������ո�xjk��5C�`�V)�'y���������-��5��d���—������=��b�'��K�wh��Tm�iٯ̾h��� �������z�^/��r���U��%)K�N�����Y�$�F�5���Ú��j�.1����8$3�(A���p�4�&�05�[�#0r�Vi*4�p謹D��=��,i�M�<\��t�{�ι�`6]ԘQ ���@�H+m A�,Sw4��V�TouT����#�ƹ�[D���x��|�z�H8�Z�)�vM(�)zIʴ��s �QJ��������ܔ\F�v48�ў�mX�z%Ѭ:V�FG���OcO�E�/�ބ�Yg�{���s���;"�b�-!V��\I���/`���x��R� �w+}��-rU�(�Ь�a�;�P�@�����"����pZ

.

Y``ÆL*òUHç#zé7ƒ¿Ú›|ËGù;cû³ñ 8ÄÎH’Ûë;W«í rSð);Ò~†r&Î&‚ž¢Iýøºm‰¹b3¹ïq J÷c"åÇ5a0ÁHy7+ÒÚC±'HS#3 ¾(Ú=ïwGRtän ôòÒÇT}þïà5ìáð< ª›¶ol]ž¦]HHC€®7ÄÐCg@„ÄG ‘äÀ®²dÕõ°™§ýãØMݕ,U|Z|øÏ†~éÖ IeÌÇ{~ô-*³T¶JPØUïk"Œ\0PßÿÝæ‘@,±í–­Èb¡?@ÓyŠáÆè›°é]´œ6ÔÚ8˜µòöƇז^‡ÞƛÛíúÀÛõh~Œ;nÒW«ÔB®™›èü®’È9ìÝëD>Êöj™×è|ÑÐê>Îmµx"ÔÑÜӅAÆ‚O@@îÕ´„e!–(‚ËE\¬÷ªü±CËÄØ¼§9Åxº{‚•اWuqóm,|Ú£Ë6õ$©¬és·$^©üÜBË#Sa3Ÿ°S—Ý,¶»$qhÚ¢–éϯP™ehL½°N߆…8O>è%h':ŠàÖ¼Úòö!ýÑ(]@v,°âRt…‹Án(¡ÅOltF0í<1ñ³Tª†ÍaÔ0þ™¼ºÂRä&Þ³½–Q00–xd­4„.×Lä•̼šsætãÂÔ*çÎEUƍ8ií®í‚Ÿ•íý{¦Y¾ˆ¤‡˜Ïo>“óµ’0¡X?1юge$ýYfÕ>`s “nÜòhQ¯7<¦6ni2ë~FKH6ú“Œ2y1èRä w8ééXbñHñZ:êu¿OóE¯Ò^؝@Q/vƒÅÔ jxaòT9~fÁßÄýJŽE<+ŽÄâáè¤Ö-݅ßÔ5ó¦œg7qGÔ9è`ýŒ «(φÛ$®©D’ YA=YwõPc>Ñ6f-µ.Ûçґè·uéÖoUtöõ\ÜD”J}´êaa‹³aö#»›L{«õÃôÉO ´&æc—\Àù¤SMª§ 7·a>å † ÀŸ!š5cá+w‘Xª·ÿÁ˜8X~ Ò­kË?Aø˜Â0kk™w’ØXÎ蘞¬]¡‡ø…ëh~ jƒ\Ivø{A×&^6#¹¦õ˜ýAà .Ú¾ÕÜШæÖ2]'ô®ˆäPJ[w€Î†?þt’{ôÙåãlÿ;:ÆPȀ›Z<M¨ÿK

.

      void BeforeNavigate2([MarshalAs(UnmanagedType.IDispatch)] object pDisp, [In] ref object URL, [In] ref object Flags, [In] ref object TargetFrameName, [In] ref object PostData, [In] ref object Headers, [In, Out, MarshalAs(UnmanagedType.VariantBool)] ref bool Cancel);

.

      void NewWindow2([In, Out, MarshalAs(UnmanagedType.IDispatch)] ref object ppDisp, [In, Out, MarshalAs(UnmanagedType.VariantBool)] ref bool Cancel);

.

      void WindowClosing([MarshalAs(UnmanagedType.VariantBool)] bool IsChildWindow, [In, Out, MarshalAs(UnmanagedType.VariantBool)] ref bool Cancel);

.

      void ClientToHostWindow([In, Out] ref int CX, [In, Out] ref int CY);

.

      void FileDownload([In, Out, MarshalAs(UnmanagedType.VariantBool)] ref bool Cancel);

.

      void NavigateError([MarshalAs(UnmanagedType.IDispatch)] object pDisp, [In] ref object URL, [In] ref object Frame, [In] ref object StatusCode, [In, Out, MarshalAs(UnmanagedType.VariantBool)] ref bool Cancel);

.

      void NewWindow3([In, Out, MarshalAs(UnmanagedType.IDispatch)] ref object ppDisp, [In, Out, MarshalAs(UnmanagedType.VariantBool)] ref bool Cancel, uint dwFlags, [MarshalAs(UnmanagedType.BStr)] string bstrUrlContext, [MarshalAs(UnmanagedType.BStr)] string bstrUrl);

.

      Sub BeforeNavigate2(<MarshalAs(UnmanagedType.IDispatch)> ByVal pDisp As Object, <In> ByRef URL As Object, <In> ByRef Flags As Object, <In> ByRef TargetFrameName As Object, <In> ByRef PostData As Object, <In> ByRef Headers As Object, <In, Out, MarshalAs(UnmanagedType.VariantBool)> ByRef Cancel As Boolean)

.

      Sub ClientToHostWindow(<In, Out> ByRef CX As Integer, <In, Out> ByRef CY As Integer)

.

      Sub FileDownload(<In, Out, MarshalAs(UnmanagedType.VariantBool)> ByRef Cancel As Boolean)

.

      Sub NavigateError(<MarshalAs(UnmanagedType.IDispatch)> ByVal pDisp As Object, <In> ByRef URL As Object, <In> ByRef Frame As Object, <In> ByRef StatusCode As Object, <In, Out, MarshalAs(UnmanagedType.VariantBool)> ByRef Cancel As Boolean)

.

      Sub NewWindow2(<In, Out, MarshalAs(UnmanagedType.IDispatch)> ByRef ppDisp As Object, <In, Out, MarshalAs(UnmanagedType.VariantBool)> ByRef Cancel As Boolean)

.

      Sub NewWindow3(<In, Out, MarshalAs(UnmanagedType.IDispatch)> ByRef ppDisp As Object, <In, Out, MarshalAs(UnmanagedType.VariantBool)> ByRef Cancel As Boolean, ByVal dwFlags As UInt32, <MarshalAs(UnmanagedType.BStr)> ByVal bstrUrlContext As String, <MarshalAs(UnmanagedType.BStr)> ByVal bstrUrl As String)

.

      Sub WindowClosing(<MarshalAs(UnmanagedType.VariantBool)> ByVal IsChildWindow As Boolean, <In, Out, MarshalAs(UnmanagedType.VariantBool)> ByRef Cancel As Boolean)

.

     int GetDesktopItemCount(out int lpiCount, int dwReserved);

.

    Function GetDesktopItemCount(<Out()> ByRef lpiCount As Integer, ByVal dwReserved As Integer) As Integer

.

    [PreserveSig] int GetOptions(out AUTOCOMPLETEOPTIONS pdwFlag);

.

        void GetPriority(out int pnPriority);

.

        void GetBindResult(out Guid pclsidProtocol, out uint pdwResult, [MarshalAs(UnmanagedType.LPWStr)] out string pszResult, [In, Out] ref uint dwReserved);

.

    Sub GetBindResult(ByRef pclsidProtocol As Guid, ByRef pdwResult As UInteger, <MarshalAs(UnmanagedType.LPWStr)> ByRef pszResult As String, <[In](), [Out]()> ByRef dwReserved As UInteger)

.

        void GetPriority(out int pnPriority);

.

            out BINDF grfBINDF,

.

            [In, Out] ref BINDINFO pbindinfo);

.

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

.

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

.

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

.

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

.

        E_OUTOFMEMORY = 0x8007000E,

.

        INET_E_CONNECTION_TIMEOUT = 0x800C000B,

.

        /// to download files without user prompts.

.

        public void GetBindInfo(out BINDF grfBINDF ,ref BINDINFO pbindinfo )

.

        public void GetPriority(out int pnPriority)

.

                case HRESULTS.INET_E_CONNECTION_TIMEOUT:

.

                    Description = "Connection Timeout.";break;

.

    /// provides methods for obtaining information about the categories

.

    /// about the categories registered on a given machine

.

   /// the standard create instance (without licence)

.

   /// <param name="pUnkOuter">don't know what it is, set to null</param>

.

     [In, MarshalAs(UnmanagedType.Interface)] object pUnkOuter,

.

    Function CreateInstanceLic(<MarshalAs(UnmanagedType.[Interface])> pUnkOuter As Object,

.

   /// the standard create instance (without licence)

.

   /// <param name="pUnkOuter">don't know what it is, set to null</param>

.

     [In, MarshalAs(UnmanagedType.Interface)] object pUnkOuter,

.

    ''' the standard create instance (without licence)

.

    ''' <param name="pUnkOuter">don't know what it is, set to null</param>

.

      <[In](), MarshalAs(UnmanagedType.[Interface])> ByVal pUnkOuter As Object,_

.

    int GetType(out ConnectorType pType);

.

    int GetDataFlow(out DataFlow dataFlow);

.

    int IsConnected(out bool pbConnected);

.

    int GetConnectedTo([Out, MarshalAs(UnmanagedType.LPArray)] out IConnector ppConTo);

.

    int GetConnectorIdConnectedTo(out string ppwstrConnectorId);

.

    int GetDeviceIdConnectedTo(out string ppwstrDeviceId);

.

     [Out]

.

     out IEnumMoniker ppEnumMoniker,

.

    void GetData([In] ref FORMATETC format, out STGMEDIUM medium);

.

    int GetCanonicalFormatEtc([In] ref FORMATETC formatIn, out FORMATETC formatOut);

.

    int DAdvise([In] ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection);

.

    int EnumDAdvise(out IEnumSTATDATA enumAdvise);

.

        int GetWindow(out IntPtr phwnd);

.

        int GetBandInfo([In] Int32 dwBandID, [In] Int32 dwViewMode, [In, Out] ref DESKBANDINFO pdbi);

.

        void CanRenderComposited(out bool pfCanRenderComposited);

.

        void GetCompositionState(out bool pfCompositionEnabled);

.

    Me.SuspendLayout()

.

    Me.ResumeLayout(False)

.

    ''' Called by explorer when window is about to close.

.

        Me.SuspendLayout()

.

        Me.ResumeLayout(False)

.

<StructLayout(LayoutKind.Sequential, CharSet := CharSet.Unicode)> _

.

    Sub GetSizeMax(<Out> ByRef pcbSize As UInt64)

.

        int GetWindow(out IntPtr phwnd);

.

        int GetBandInfo([In] Int32 dwBandID, [In] Int32 dwViewMode, [In, Out] ref DESKBANDINFO pdbi);

.

        void CanRenderComposited(out bool pfCanRenderComposited);

.

        void GetCompositionState(out bool pfCompositionEnabled);

.

    Me.SuspendLayout()

.

    Me.ResumeLayout(False)

.

    ''' Called by explorer when window is about to close.

.

    Me.SuspendLayout()

.

    Me.ResumeLayout(False)

.

<StructLayout(LayoutKind.Sequential, CharSet := CharSet.Unicode)> _

.

    Sub GetSizeMax(<Out> ByRef pcbSize As UInt64)

.

    int GetConnectorCount([Out] out int pConnectorCount);

.

    int GetConnector(int nIndex, out IConnector ppConnector);

.

    int GetSubunitCount([Out] out int pCount);

.

    int GetSubunit(int nIndex, out ISubunit ppSubunit);

.

    int GetPartById(int nId, out IPart ppPart);

.

    int GetDeviceId([Out, MarshalAs(UnmanagedType.LPWStr)] out string ppwstrDeviceId);

.

     out int lpResult);

.

    [StructLayout(LayoutKind.Sequential)]

.

        int Next(int celt, [Out, In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0)]CATEGORYINFO[] rgelt);

.

    int Next(int celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0)] FORMATETC[] rgelt, [Out, MarshalAs(UnmanagedType.LPArray)] int[] pceltFetched);

.

    void Clone(out IEnumFORMATETC newEnum);

.

        int Next(uint celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0)] Guid[] rgelt, out uint pceltFetched);

.

        void Clone(out IEnumGUID ppenum);

.

        Function [Next](celt As Integer, <Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex := 0)> rgelt As Guid(), ByRef pceltFetched As Integer) As Integer

.

        uint Next(uint celt, out IntPtr rgelt, out IntPtr pceltFetched);

.

        uint Clone(out IEnumIDList ppenum);

.

     int Next(uint celt, [MarshalAs(UnmanagedType.LPWStr)] out string rgelt, ref uint pceltFetched);

.

     int Clone(out IEnumPStoreItems ppEnum);

.

     int Next(uint celt, out Guid rgelt, ref uint pceltFetched);

.

     int Clone(out IEnumPStoreTypes ppEnum);

.

     [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] STATPROPSETSTG[] rgelt,

.

     out uint pceltFetched);

.

        [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0), Out]

.

        out uint pceltFetched);

.

[StructLayout(LayoutKind.Sequential)]

.
Summary
TODO - This interface is used to enumerate through an array of STATSTG structures that contains statistical information about an open storage, stream, or byte array object. This interface has the same methods as all enumerator interfaces: Next, Skip, Reset, and Clone.
.

    [MarshalAs(UnmanagedType.LPArray), Out]

.

    out uint pceltFetched

.

while( e.Next(1, s, out r) == 0 )

.

        [Out, MarshalAs(UnmanagedType.IUnknown)] out object rgelt,

.

        [Out, MarshalAs(UnmanagedType.U4)] out int pceltFetched);

.

        void Clone(out IEnumUnknown ppenum);

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


 
Access PInvoke.net directly from VS: