NWGenerateGUIDs

Returns a Global Universal Identification (GUID) list from a server.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Server Environment

Syntax

  #include <nwfse.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE NWGenerateGUIDs ( 
     NWCONN_HANDLE   connHandle, 
     nuint32         GUIDSize, 
     NW_GUID         GUIDList[]); 
  

Delphi Syntax

  uses calwin32 
   
  Function NWGenerateGUIDs 
    (connHandle : NWCONN_HANDLE;
     GUIDSize : nuint32;
     GUIDList [] :  NW_GUID
  ) : NWCCODE;
  

Parameters

connHandle
(IN) Specifies the connection handle of the server where the GUID list request should be sent.
GUIDSize
(IN) Specifies the number of GUIDs that will fit in the space allocated for GUIDList.
GUIDList
(OUT) Points to an array of NW_GUID structures that contain a list of the server's GUIDs.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x880E

NWE_BUFFER_OVERFLOW

0x8869

ACCESS_VIOLATION

0x897E

NCP_BOUNDARY_CHECK_FAILED

0x89FB

INVALID_PARAMETER

Remarks

GUIDSize will be the maximum number of GUIDs generated by the server.

You need to allocate enough space to accommodate the number of GUIDs specified in GUIDSize.

NCP Calls