如何定义函数指针,下面这个函数的如何定义他的函数指针?INTERNETAPIHINTERNETWINAPIInternetOpenW(IN LPCWSTR lpszAgent,IN DWORD dwAccessType,IN LPCWSTR lpszProxy OPTIONAL,IN LPCWSTR lpszProxyBypass OPTIONAL,IN DWORD dwFlags);
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/26 21:36:50
如何定义函数指针,下面这个函数的如何定义他的函数指针?INTERNETAPIHINTERNETWINAPIInternetOpenW(IN LPCWSTR lpszAgent,IN DWORD dwAccessType,IN LPCWSTR lpszProxy OPTIONAL,IN LPCWSTR lpszProxyBypass OPTIONAL,IN DWORD dwFlags);
如何定义函数指针,下面这个函数的如何定义他的函数指针?
INTERNETAPI
HINTERNET
WINAPI
InternetOpenW(
IN LPCWSTR lpszAgent,
IN DWORD dwAccessType,
IN LPCWSTR lpszProxy OPTIONAL,
IN LPCWSTR lpszProxyBypass OPTIONAL,
IN DWORD dwFlags
);
如何定义函数指针,下面这个函数的如何定义他的函数指针?INTERNETAPIHINTERNETWINAPIInternetOpenW(IN LPCWSTR lpszAgent,IN DWORD dwAccessType,IN LPCWSTR lpszProxy OPTIONAL,IN LPCWSTR lpszProxyBypass OPTIONAL,IN DWORD dwFlags);
typedef
INTERNETAPI
HINTERNET(*
WINAPI
funcPtr_InternetOpenW)(
IN LPCWSTR lpszAgent,
IN DWORD dwAccessType,
IN LPCWSTR lpszProxy OPTIONAL,
IN LPCWSTR lpszProxyBypass OPTIONAL,
IN DWORD dwFlags
);
typedef
INTERNETAPI
WINAPI
HINTERNET(*funcPtr_InternetOpenW)(
IN LPCWSTR lpszAgent,
IN DWORD dwAccessType,
IN LPCWSTR lpszProxy OPTIONAL,
IN LPCWSTR lpszProxyBypass OPTIONAL,
IN DWORD dwFlags
);
funcPtr_InternetOpenW pFunc =InternetOpenW;