Re: Calling Still Image API in C#
From: Mattias Sjögren (mattias.dont.want.spam_at_mvps.org)
Date: 02/10/04
- Next message: Daryl Davis: "Re: Calling a VB dll with a ByRef variant argument from C#"
- Previous message: Daryl Davis: "MTSdlls and interop..."
- In reply to: Travis Butynski: "Re: Calling Still Image API in C#"
- Next in thread: Travis Butynski: "Re: Calling Still Image API in C#"
- Reply: Travis Butynski: "Re: Calling Still Image API in C#"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: Daryl Davis: "Re: Calling a VB dll with a ByRef variant argument from C#"
- Previous message: Daryl Davis: "MTSdlls and interop..."
- In reply to: Travis Butynski: "Re: Calling Still Image API in C#"
- Next in thread: Travis Butynski: "Re: Calling Still Image API in C#"
- Reply: Travis Butynski: "Re: Calling Still Image API in C#"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|