Sign in to follow this  
Followers 0
Beege

Help! --DllStructCreate with wininet.dll

2 posts in this topic

Can anyone Help explain how to create the structure for this dll?

typedef struct _INTERNET_BUFFERS {

DWORD dwStructSize;

_INTERNET_BUFFERS* Next;-------------------------------------------This is the part thats confusing me.

LPCTSTR lpcszHeader;

DWORD dwHeadersLength;

DWORD dwHeadersTotal;

LPVOID lpvBuffer;

DWORD dwBufferLength;

DWORD dwBufferTotal;

DWORD dwOffsetLow;

DWORD dwOffsetHigh;

} INTERNET_BUFFERS, *LPINTERNET_BUFFERS;

dwStructSize

Unsigned long integer value used for application programming interface (API) versioning. This is set to the size of the INTERNET_BUFFERS structure in bytes.

Next

Pointer to the next INTERNET_BUFFERS structure.

lpcszHeader

Pointer to a string value that contains the headers. This value can be NULL.

dwHeadersLength

Unsigned long integer value that contains the length of the headers, in TCHARs, if lpcszHeader is not NULL.

dwHeadersTotal

Unsigned long integer value that contains the size of the headers if there is not enough memory in the buffer.

lpvBuffer

Pointer to the data buffer.

dwBufferLength

Unsigned long integer value that contains the length of the buffer, in TCHARs, if lpvBuffer is not NULL.

dwBufferTotal

Unsigned long integer value that contains the total size of the resource.

dwOffsetLow

Unsigned long integer value that is used for read ranges.

dwOffsetHigh

Unsigned long integer value that is used for read ranges.

---------I don't get what the next Internet_buffer sturcture is for. Thanks

MSDN if you want to look

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0