Get NCP Extension Information (old) 0x2222 36 00

Returns information about the specified NCP Extension.

NetWare Server:4.x, 5.x

Request Format

Offset

Content

Type

Request header

6

FunctionCode (36)

byte

7

SubFuncStrucLen (5)

word (Hi-Lo)

9

SubFuncCode (0)

byte

10

NCPExtensionNumber

long (Lo-Hi)

Reply Format (InformationType = 0)

Offset

Content

Type

Reply header

8

NCPextensionNumber

long (Lo-Hi)

12

NCPextensionMajorVersion

byte

13

NCPextensionMinorVersion

byte

14

NCPextensionRevisionNumber

byte

15

NCPextensionNameLength

byte

16

NCPextensionName

byte[]

48

NCPextensionCustomData

byte[]

Return Values

Decimal

Hex

Description

0

0x00

Successful

254

0xFE

 

Remarks

If the value specified by NCPextensionNumber is not found, the next increasing NCP Extension number will be returned (if present).

It is recommended that you set NCPExtensionNumber to -1 initially. Get NCP Extension Information (old) scans for an NCP extension until the first valid NCP extension is found; information about that NCP extension is then returned. By using the NCPextensionNumber that is returned in the reply packet, you can made additional requests using this NCP until the desired NCP extension is found and the desired information is returned. (Return NCP Extension Information 0x2222 36 05 looks only for a specified NCP extension and does not scan sequentially through loaded NCP extensions.)

NCPextensionCustomData is a 32-byte buffer of custom information that the NCP extension handler can optionally use.

See Also

Return NCP Extension Information 0x2222 36 05, Execute NCP Extension 0x2222 37