Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: global.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef HEADER_GLOBAL
  11. #define HEADER_GLOBAL
  12. /*!--------------------------------------------------------------------------
  13. WsaInitialize
  14. Initialize winsock.
  15. Author: NSun
  16. ---------------------------------------------------------------------------*/
  17. int
  18. WsaInitialize(
  19. NETDIAG_PARAMS * pParams,
  20. NETDIAG_RESULT *pResults
  21. );
  22. NET_API_STATUS
  23. BrDgReceiverIoControl(
  24. IN HANDLE FileHandle,
  25. IN ULONG DgReceiverControlCode,
  26. IN PLMDR_REQUEST_PACKET Drp,
  27. IN ULONG DrpSize,
  28. IN PVOID SecondBuffer OPTIONAL,
  29. IN ULONG SecondBufferLength,
  30. OUT PULONG Information OPTIONAL
  31. );
  32. NET_API_STATUS
  33. DeviceControlGetInfo(
  34. IN HANDLE FileHandle,
  35. IN ULONG DeviceControlCode,
  36. IN PVOID RequestPacket,
  37. IN ULONG RequestPacketLength,
  38. OUT LPVOID *OutputBuffer,
  39. IN ULONG PreferedMaximumLength,
  40. IN ULONG BufferHintSize,
  41. OUT PULONG Information OPTIONAL
  42. );
  43. NET_API_STATUS
  44. OpenBrowser(
  45. OUT PHANDLE BrowserHandle
  46. );
  47. int match( const char * p, const char * s );
  48. LONG CountInterfaces(PIP_ADAPTER_INFO ListAdapterInfo);
  49. #endif