O
ozbear
I have googled til I dropped trying to find how to express the usage
of this function in a C# application of mine.
The WinAPI definition is:
INTERNET_STATUS_CALLBACK InternetSetStatusCallback(
HINTERNET hInternet,
INTERNET_STATUS_CALLBACK lpfnInternetCallback
);
where InternetStatusCallback is a placeholder function defined as
void CALLBACK InternetStatusCallback(
HINTERNET hInternet,
DWORD_PTR dwContext,
DWORD dwInternetStatus,
LPVOID lpvStatusInformation,
DWORD dwStatusInformationLength
);
How define the function InternetStatusCallback in C#? I am relatively
certain that is will have to be a static method of my class but I am
unsure of how to declare the formal argumendt in
InternetSetStatusCallback's definition.
Regards, Oz
of this function in a C# application of mine.
The WinAPI definition is:
INTERNET_STATUS_CALLBACK InternetSetStatusCallback(
HINTERNET hInternet,
INTERNET_STATUS_CALLBACK lpfnInternetCallback
);
where InternetStatusCallback is a placeholder function defined as
void CALLBACK InternetStatusCallback(
HINTERNET hInternet,
DWORD_PTR dwContext,
DWORD dwInternetStatus,
LPVOID lpvStatusInformation,
DWORD dwStatusInformationLength
);
How define the function InternetStatusCallback in C#? I am relatively
certain that is will have to be a static method of my class but I am
unsure of how to declare the formal argumendt in
InternetSetStatusCallback's definition.
Regards, Oz