Re: copy files using backupread and backupwrite api.

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

From: Jochen Kalmbach (nospam-Jochen.Kalmbach_at_holzma.de)
Date: 10/21/04


Date: Wed, 20 Oct 2004 21:51:49 -0700

Hi =?Utf-8?B?TVZC?=,

> I am thiniking it is a c# issue since I am passing
> ref(WIN32_STREAM_ID) as the pointer to buffer in backupread,cause
> passing a buffer of type byte is not helping.

Because of this I asked you in the first answer:
How do you call this function?

Please provide the DllImport and structure layout!

By the way: There is a more apropriate group for this:

microsoft.public.dotnet.framework.interop

-- 
Greetings
  Jochen
   My blog about Win32 and .NET
   http://blog.kalmbachnet.de/


Relevant Pages

  • Re: wcstombs n <= INT_MAX
    ... BUT am not allowed to edit it) I get this error in a ... function that uses wcstombs() ... Or, more likely, you are passing a negative value as buffer size, and it ...
    (microsoft.public.vc.language)
  • Re: wcstombs n <= INT_MAX
    ... Or, more likely, you are passing a negative value as buffer size, and it ... wraps around. ... Please correct me so I may improve my English! ...
    (microsoft.public.vc.language)
  • Re: Confusion of Malloc and Sizeof
    ... without passing the number or having a global variable. ... handle [most likely 256 or shorter arrays of unsigned char by passing ... buffer could be p and overwrite the size data passed to read. ... have an appropriate newsgroups line in your header for your mail to be seen, ...
    (comp.lang.c.moderated)
  • Re: Secure C library
    ... > Richard Bos wrote: ... >> My point was that passing in the size of the buffer does not make this ... passing a buffer which is actually too small will still merely ... > a call passing mybuff, and the revised code would also ...
    (comp.std.c)
  • Re: [Patch][RFC] Disabling per-tgid stats on task exit in taskstats
    ... I don't know if this comment applies to "the standard netlink way of ... passing it up using NLA_STRING", but the way I deal with buffer length ... issues in the cpuset code is to insist that the user code express the ... This lets the user specify the buffer size passed in, ...
    (Linux-Kernel)