Source code of Windows XP (NT5)
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.

46 lines
1.1 KiB

  1. /*************************************************************************
  2. *
  3. * NTNW.H
  4. *
  5. * NT specific NetWare defines
  6. *
  7. * Copyright (c) 1995 Microsoft Corporation
  8. *
  9. * $Log: N:\NT\PRIVATE\NW4\NWSCRIPT\INC\VCS\NTNW.H $
  10. *
  11. * Rev 1.1 22 Dec 1995 14:20:20 terryt
  12. * Add Microsoft headers
  13. *
  14. * Rev 1.0 15 Nov 1995 18:05:34 terryt
  15. * Initial revision.
  16. *
  17. * Rev 1.0 15 May 1995 19:09:36 terryt
  18. * Initial revision.
  19. *
  20. *************************************************************************/
  21. /*
  22. * This must be kept in sync with the NWAPI32 library. This are
  23. * internal data structures and routines.
  24. */
  25. typedef struct _NWC_SERVER_INFO {
  26. HANDLE hConn ;
  27. UNICODE_STRING ServerString ;
  28. } NWC_SERVER_INFO, *PNWC_SERVER_INFO ;
  29. extern NTSTATUS
  30. NwlibMakeNcp(
  31. IN HANDLE DeviceHandle,
  32. IN ULONG FsControlCode,
  33. IN ULONG RequestBufferSize,
  34. IN ULONG ResponseBufferSize,
  35. IN PCHAR FormatString,
  36. ... // Arguments to FormatString
  37. );
  38. DWORD szToWide( LPWSTR lpszW, LPCSTR lpszC, INT nSize );
  39. DWORD WideTosz( LPSTR lpszC, LPWSTR lpszW, INT nSize );
  40. extern TCHAR NW_PROVIDER[60];