Re: Request for code sample re OutputCleanpoint

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



Sasha,

Thanks for looking at my problem .. setting dwFlags to WM_SF_CLEANPOINT does
not seem to work, some other posts on this topic suggest it will and others
suggest it won't.

I plan to use the INSSBuffer3 route but am new to c++ and am having
difficultry getting the data and syntax correct:

The first bit I need is Query Interfacing the INSSBuffer this should return
a pointer to the buffer .. So first puzzle is what is the exact syntax for
this statement?

Second is to call the method SetProperty of this interface and three things
are required:

The GUID which I have as WM_SampleExtensionGUID_OutputCleanPoint
The pointer to the buffer and the length of the pointer or the buffer .. not
sure which!

So there are two questions for this last bit ..

whats the syntax and how do I get the valuse for the pointer to teh buffer
and the length.

Do I use GetBufferand Length() and if so whats the syntax.

Thanks for you help

Jim



"sasha" wrote:

> JIHood wrote:
> >
> > Looks like the way to do it is to trap the sample I require at the
> > correct time then qery interface the innssbuffer then set the
> > property ..
> >
>
> Or you can simply set the WS_CLEANPOINT (or whatever that flag is) in
> the call to WriteSample.
>
> ..a
>
.



Relevant Pages

  • [net-next PATCH 4/5] igb: Add support for enabling VFs to PF driver.
    ... pointer to the hardware struct ... under the terms and conditions of the GNU General Public License, ... * @msg: The message buffer ... * returns SUCCESS if it successfully copied message into the buffer ...
    (Linux-Kernel)
  • Re: When to stop - how do I work out when to stop processing
    ... I know the length of the entire byte stream. ... //parse buffer received into tlv messages ... However, if doing direct pointer manipulation is still desired, ... with 'process_tlvs' being an array of pointer-to-function. ...
    (comp.lang.c)
  • Re: some unanswered questions on C
    ... A pointer variable that's never been given a value. ... you don't know what memory you're modifying. ... >what i want to ask is that when i declare my buffer for fgets as ... "char *buffer" creates a pointer, ...
    (comp.unix.programmer)
  • [patch] x86, ptrace: PEBS support
    ... BTS and PEBS recording. ... * - buffer overflow handling ... (interrupt occurs when write pointer passes interrupt pointer) ... * guarding context and buffer memory allocation. ...
    (Linux-Kernel)
  • Re: The coming death of all RISC chips.
    ... different area of memory than the "stack", ... Any arbitrarily indirect pointer to code that can be ... overwritten by a buffer overflow is a potential hole (and an actual ... ways to exploit buffer overflows. ...
    (comp.arch)