diff options
Diffstat (limited to 'private/ntos/tdi/isn/rip/rttest/nwsap.h')
-rw-r--r-- | private/ntos/tdi/isn/rip/rttest/nwsap.h | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/private/ntos/tdi/isn/rip/rttest/nwsap.h b/private/ntos/tdi/isn/rip/rttest/nwsap.h new file mode 100644 index 000000000..c99a84063 --- /dev/null +++ b/private/ntos/tdi/isn/rip/rttest/nwsap.h @@ -0,0 +1,75 @@ +/*++ + +Copyright (c) 1994 Microsoft Corporation +Copyright (c) 1993 Micro Computer Systems, Inc. + +Module Name: + + net\inc\nwsap.h + +Abstract: + + This is the public include file for the Nw Sap Agent API. + +Author: + + Brian Walker (MCS) 06-30-1993 + +Revision History: + +--*/ + +#ifndef _NWSAP_ +#define _NWSAP_ + +/** Return codes for Advertise API and BindLib API **/ + +#define SAPRETURN_SUCCESS 0 +#define SAPRETURN_NOMEMORY 1 +#define SAPRETURN_EXISTS 2 +#define SAPRETURN_NOTEXIST 3 +#define SAPRETURN_NOTINIT 4 +#define SAPRETURN_INVALIDNAME 5 + +/** Function Prototypes **/ + +INT +SapAddAdvertise( + IN PUCHAR ServerName, + IN USHORT ServerType, + IN PUCHAR ServerAddr); + +INT +SapRemoveAdvertise( + IN PUCHAR ServerName, + IN USHORT ServerType); + +DWORD +SapLibInit( + VOID); + +DWORD +SapLibShutdown( + VOID); + +INT +SapGetObjectID( + IN PUCHAR ObjectName, + IN USHORT ObjectType, + IN PULONG ObjectID); + +INT +SapGetObjectName( + IN ULONG ObjectID, + IN PUCHAR ObjectName, + IN PUSHORT ObjectType, + IN PUCHAR ObjectAddr); + +INT +SapScanObject( + IN PULONG ObjectID, + IN PUCHAR ObjectName, + IN PUSHORT ObjectType, + IN USHORT ScanType); + +#endif |