please dont rip this site Prev Next

LLC_BUFFER_CREATE_PARMS Overview  Group

The LLC_BUFFER_CREATE_PARMS structure is the DLC parameter table for the LLC_BUFFER_CREATE command. You pass a pointer to this structure using the pParameterTable member of the CCB_PARMS union.

typedef struct {

    HANDLE hBufferPool; 

    PVOID pBuffer; 

    ULONG cbBufferSize; 

    ULONG cbMinimumSizeThreshold; 

} LLC_BUFFER_CREATE_PARMS, *PLLC_BUFFER_CREATE_PARMS;

Members

hBufferPool
Handle to the created buffer pool.
pBuffer
Specifies the address of an application-supplied buffer. The buffer can be statically allocated or dynamically allocated from the heap. The minimum size requirement is 0x2000. The buffer manager allocates all DLC buffers from this virtual buffer. This buffer area must not be used for anything else.
cbBufferSize
The total size of the buffer, pBuffer, in bytes.
cbMinimumSizeThreshold
The minimum locked size. The buffer manager tries to keep at least this much free space in the buffer pool. This parameter should be large enough to hold all data received between two sequential LLC_READ commands.

Remarks

Windows supports one buffer pool per process. After you open an adapter using the LLC_DIR_OPEN_ADAPTER command, you must give the DLC driver a buffer pool by using the LLC_BUFFER_CREATE command.

You should carefully select the total and minimum buffer pool sizes, because the memory manager has a dynamic quota of available pages for each process. Your application may not run if it tries to allocate a buffer pool that is too large.

See Also

AcsLan, CCB_PARMS


file: /Techref/os/win/api/win32/struc/src/str09_30.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/7 19:05,
TOP NEW HELP FIND: 
18.117.78.87:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.ecomorder.com/Techref/os/win/api/win32/struc/src/str09_30.htm"> LLC_BUFFER_CREATE_PARMS</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to massmind.ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .