Partager via


3.1.4 Message Processing Events and Sequencing Rules

Methods in RPC Opnum Order

Method

Description

Opnum0NotUsedOnWire

Returns ERROR_NOT_SUPPORTED. Unused.

Opnum: 0

Opnum1NotUsedOnWire

Returns ERROR_NOT_SUPPORTED. Unused.

Opnum: 1

Opnum2NotUsedOnWire

Returns ERROR_NOT_SUPPORTED. Unused.

Opnum: 2

Opnum3NotUsedOnWire

Returns ERROR_NOT_SUPPORTED. Unused.

Opnum: 3

Opnum4NotUsedOnWire

Returns ERROR_NOT_SUPPORTED. Unused.

Opnum: 4

Opnum5NotUsedOnWire

Returns ERROR_NOT_SUPPORTED. Unused.

Opnum: 5

Opnum6NotUsedOnWire

Returns ERROR_NOT_SUPPORTED. Unused.

Opnum: 6

Opnum7NotUsedOnWire

Returns ERROR_NOT_SUPPORTED. Unused.

Opnum: 7

NetrConnectionEnum

Lists all connections made to a shared resource on the server or all connections established from a particular computer.

Opnum: 8

NetrFileEnum

Returns information about some or all open files on a server, depending on the parameters that are specified.

Opnum: 9

NetrFileGetInfo

Retrieves information about a particular opening of a server resource.

Opnum: 10

NetrFileClose

Forces an open resource instance (for example, file, device, or named pipe) on the server to close.

Opnum: 11

NetrSessionEnum

Provides information about sessions that are established on a server.

Opnum: 12

NetrSessionDel

Ends a network session between a server and a client.

Opnum: 13

NetrShareAdd

Shares a server resource.

Opnum: 14

NetrShareEnum

Retrieves information about each shared resource on a server.

Opnum: 15

NetrShareGetInfo

Retrieves information about a particular shared resource on the server.

Opnum: 16

NetrShareSetInfo

Sets the parameters of a shared resource.

Opnum: 17

NetrShareDel

Deletes a share name from a server’s list of shared resources, which disconnects all connections to the shared resource.

Opnum: 18

NetrShareDelSticky

Deletes a sticky share name from a server’s list of shared resources, which disconnects all connections to the shared resource.

Opnum: 19

NetrShareCheck

Checks whether a server is sharing a device.

Opnum: 20

NetrServerGetInfo

Retrieves current configuration information for the specified server.

Opnum: 21

NetrServerSetInfo

Sets a server’s operating parameters.

Opnum: 22

NetrServerDiskEnum

Retrieves a list of disk drives on a server.

Opnum: 23

NetrServerStatisticsGet

Retrieves operating statistics for a service.

Opnum: 24

NetrServerTransportAdd

Binds the server to the transport protocol.

Opnum: 25

NetrServerTransportEnum

Supplies information about transport protocols that the server manages.

Opnum: 26

NetrServerTransportDel

Unbinds (disconnects) the transport protocol from the server.

Opnum: 27

NetrRemoteTOD

Returns the time of day information from a specified server.

Opnum: 28

Opnum29NotUsedOnWire

Only used locally, never remotely.

Opnum: 29

NetprPathType

Checks a path name to determine its type.

Opnum: 30

NetprPathCanonicalize

Converts a path name to an implementation-specific canonical format.

Opnum: 31

NetprPathCompare

Performs an implementation-specific comparison of two paths.

Opnum: 32

NetprNameValidate

Performs implementation-specific checks to ensure that the specified name is a valid name for the specified type.

Opnum: 33

NetprNameCanonicalize

Converts a name to an implementation-specific canonical format for the specified type.

Opnum: 34

NetprNameCompare

Performs an implementation-specific comparison of two names of a specific name type.

Opnum: 35

NetrShareEnumSticky

Retrieves information about each sticky shared resource on a server.

Opnum: 36

NetrShareDelStart

Performs the initial phase of a two-phase share delete.

Opnum: 37

NetrShareDelCommit

Performs the final phase of a two-phase share delete.

Opnum: 38

NetrpGetFileSecurity

Returns a copy of the security descriptor protecting a file or directory.

Opnum: 39

NetrpSetFileSecurity

Sets the security of a file or directory.

Opnum: 40

NetrServerTransportAddEx

Binds the specified server to the transport protocol. This extended method allows the caller to specify information levels 1, 2, and 3 beyond what the NetrServerTransportAdd (section 3.1.4.22) method allows.

Opnum: 41

Opnum42NotUsedOnWire

Only used locally, never remotely.

Opnum: 42

NetrDfsGetVersion

Checks whether the server is a DFS server, and if so, returns an implementation-specific DFS version.

Opnum: 43

NetrDfsCreateLocalPartition

Marks a share as being a DFS share.

Opnum: 44

NetrDfsDeleteLocalPartition

Deletes a DFS share (prefix) on the server.

Opnum: 45

NetrDfsSetLocalVolumeState

Sets a local DFS share online or offline.

Opnum: 46

Opnum47NotUsedOnWire

Unsupported and not defined. Unused.

Opnum: 47

NetrDfsCreateExitPoint

Creates a DFS link on the server.

Opnum: 48

NetrDfsDeleteExitPoint

Deletes a DFS link on the server.

Opnum: 49

NetrDfsModifyPrefix

Changes the path that corresponds to a DFS link on the server.

Opnum: 50

NetrDfsFixLocalVolume

Adds knowledge of a new DFS share on the server.

Opnum: 51

NetrDfsManagerReportSiteInfo

Gets Active Directory site information.

Opnum: 52

NetrServerTransportDelEx

Unbinds (disconnects) the transport protocol from the server.

Opnum: 53

NetrServerAliasAdd

Attaches an alias name to an existing server name.

Opnum: 54

NetrServerAliasEnum

Retrieves alias information for a server.

Opnum: 55

NetrServerAliasDel

Deletes an alias name from a server alias list.

Opnum: 56

NetrShareDelEx

Deletes a share name from a server's list of shared resources.

Opnum: 57

An implementation MAY<42> choose to support the methods whose names begin with NetrDfs.

The methods MUST NOT throw an exception.

The server SHOULD enforce security measures to ensure that the caller has the required permissions to execute each method.<43>