Re: Calling Still Image API in C#

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mattias Sjögren (mattias.dont.want.spam_at_mvps.org)
Date: 02/10/04


Date: Wed, 11 Feb 2004 00:06:32 +0100

Travis,

>[Guid("641BD880-2DC8-11D0-90EA-00AA0060F86C"), // IStillImageW
>
>InterfaceType(ComInterfaceType.InterfaceIsDual)]

IStillImage derives from IUnknown, so you should use
InterfaceIsIUnknown rather than IsDual.

>public interface IStillImage
>
>{
>
>void GetDeviceList( [In] int dwType, [In] int dwFlags, [Out] out int
>pdwItemsReturned, [In, Out] IntPtr ppBuffer );

You seem to be missing the first method, Initialize().

Mattias

-- 
Mattias Sjögren [MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.


Relevant Pages

  • Re: How to fix broken security in Windows 2000?
    ... How to identify missing security certificates in Windows 2000? ... In that case, you (Karl Levinson, mvp), are ... You asked how to identify and replace the certs MS uses ...
    (microsoft.public.win2000.windows_update)
  • Re: How to fix broken security in Windows 2000?
    ... How to identify missing security certificates in Windows 2000? ... In that case, you (Karl Levinson, mvp), are ... You asked how to identify and replace the certs MS uses ...
    (microsoft.public.security)
  • Re: How to fix broken security in Windows 2000?
    ... How to identify missing security certificates in Windows 2000? ... In that case, you (Karl Levinson, mvp), are ... You asked how to identify and replace the certs MS uses ...
    (microsoft.public.win2000.security)
  • Re: error
    ... Thanks in advance for your continued help. ... "Ken Blake, MVP" wrote: ... they were missing the .exe. ...
    (microsoft.public.windowsxp.general)
  • Re: Auto fit table
    ... nothing missing in your menu. ... Luc Sanders ... "Suzanne S. Barnhill" wrote: ... Microsoft MVP (Word) ...
    (microsoft.public.word.tables)