P/Invoke BYTE *
- From: "Mario" <alphatommy@xxxxxxxxxxx>
- Date: 26 Jul 2006 13:44:13 -0700
Hi,
I have this function in a dll
void myfunction (HANDLE myhandle, BYTE byAddress, BYTE* pDataBuffer,
int iSize)
Invoking using Platform invoke by using the following:
[DllImport("mydll.dll")]
public static extern void myfunction(IntPtr myhandle, Byte byAddress,
ref Byte pDataBuffer, int iSize);
Somehow I don't seem to be getting data from pDataBuffer. What is the
right declaration for BYTE * in platform invoke?
Thanks.
.
- Follow-Ups:
- Re: P/Invoke BYTE *
- From: Paul G. Tobey [eMVP]
- Re: P/Invoke BYTE *
- Prev by Date: Re: Registry
- Next by Date: Re: Registry
- Previous by thread: Registry
- Next by thread: Re: P/Invoke BYTE *
- Index(es):
Relevant Pages
|
Loading