10#define WIN32_NO_STATUS
25 if (*TcpTable ==
NULL)
57 skip(
"Failed to init WS2\n");
68 skip(
"Cannot create socket\n");
79 skip(
"Cannot bind socket\n");
85 skip(
"Cannot listen on socket\n");
105 ok(
Found,
"Our socket wasn't found!\n");
111 skip(
"GetExtendedTcpTableWithAlloc failure\n");
134 skip(
"GetExtendedTcpTableWithAlloc failure\n");
153 ok(
Found,
"Our socket wasn't found!\n");
159 skip(
"GetExtendedTcpTableWithAlloc failure\n");
181 skip(
"Our socket wasn't found!\n");
192 skip(
"GetExtendedTcpTableWithAlloc failure\n");
215 skip(
"GetExtendedTcpTableWithAlloc failure\n");
237 skip(
"Our socket wasn't found!\n");
248 skip(
"GetExtendedTcpTableWithAlloc failure\n");
270 skip(
"Our socket wasn't found!\n");
284 skip(
"GetExtendedTcpTableWithAlloc failure\n");
307 skip(
"GetExtendedTcpTableWithAlloc failure\n");
329 skip(
"Our socket wasn't found!\n");
343 skip(
"GetExtendedTcpTableWithAlloc failure\n");
static DWORD GetExtendedTcpTableWithAlloc(PVOID *TcpTable, BOOL Order, DWORD Family, TCP_TABLE_CLASS Class)
void quit(int argc, const char *argv[])
#define ERROR_INSUFFICIENT_BUFFER
#define HeapFree(x, y, z)
VOID WINAPI GetSystemTimeAsFileTime(OUT PFILETIME lpFileTime)
INT WINAPI WSAStartup(IN WORD wVersionRequested, OUT LPWSADATA lpWSAData)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
DWORD WINAPI GetExtendedTcpTable(PVOID pTcpTable, PDWORD pdwSize, BOOL bOrder, ULONG ulAf, TCP_TABLE_CLASS TableClass, ULONG Reserved)
enum _TCP_TABLE_CLASS TCP_TABLE_CLASS
@ TCP_TABLE_OWNER_MODULE_CONNECTIONS
@ TCP_TABLE_BASIC_CONNECTIONS
@ TCP_TABLE_BASIC_LISTENER
@ TCP_TABLE_OWNER_MODULE_ALL
@ TCP_TABLE_OWNER_PID_LISTENER
@ TCP_TABLE_OWNER_PID_ALL
@ TCP_TABLE_OWNER_PID_CONNECTIONS
@ TCP_TABLE_OWNER_MODULE_LISTENER
INT WSAAPI listen(IN SOCKET s, IN INT backlog)
INT WSAAPI bind(IN SOCKET s, IN CONST struct sockaddr *name, IN INT namelen)
SOCKET WSAAPI socket(IN INT af, IN INT type, IN INT protocol)
LARGE_INTEGER liCreateTimestamp
MIB_TCPROW_OWNER_MODULE table[1]
MIB_TCPROW_OWNER_PID table[1]
static rfbScreenInfoPtr server
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
DWORD WINAPI GetCurrentProcessId(void)
int PASCAL FAR WSACleanup(void)