ms

package
v0.0.0-...-e973567 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STATUS_SUCCESS                  = 0x00000000
	STATUS_MORE_PROCESSING_REQUIRED = 0xC0000016
	STATUS_ACCESS_DENIED            = 0xC0000022
	STATUS_LOGON_FAILURE            = 0xC000006D
	STATUS_BAD_NETWORK_NAME         = 0xC00000CC
	STATUS_USER_SESSION_DELETED     = 0xC0000203 // 该问题似乎可以随机化ClientGuid解决
	STATUS_FILE_CLOSED              = 0xC0000128
	STATUS_PIPE_DISCONNECTED        = 0xC00000B0
	STATUS_INVALID_PARAMETER        = 0xC000000D
	STATUS_OBJECT_NAME_NOT_FOUND    = 0xC0000034
	STATUS_PIPE_BROKEN              = 0xC000014B
)
View Source
const (
	SRVSVC_UUID                 = "4b324fc8-1670-01d3-1278-5a47bf6ee188"
	SRVSVC_VERSION              = 2
	NTSVCS_UUID                 = "367abb81-9844-35f1-ad32-98f038001003"
	NTSVCS_VERSION              = 2
	IID_IObjectExporter         = "99fcfec4-5260-101b-bbcb-00aa0021347a"
	IID_IObjectExporter_VERSION = 0
	// NDR 传输标准
	// https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rpce/b6090c2b-f44a-47a1-a13b-b82ade0137b2
	NDR_UUID                         = "8a885d04-1ceb-11c9-9fe8-08002b104860"
	NDR_VERSION                      = 2
	Time_Feature_Negotiation_UUID    = "6cb71c2c-9812-4540-0300-000000000000"
	Time_Feature_Negotiation_VERSION = 1
	// epmapper接口
	EPMv4_UUID    = "e1af8308-5d1f-11c9-91a4-08002b14a0fa"
	EPMv4_VERSION = 3
)

Variables

View Source
var StatusMap = map[uint32]string{
	STATUS_SUCCESS:                  "Requested operation succeeded.",
	STATUS_MORE_PROCESSING_REQUIRED: "More Processing Required",
	STATUS_ACCESS_DENIED:            "A process has requested access to an object but has not been granted those access rights.",
	STATUS_LOGON_FAILURE:            "Authentication failed.",
	STATUS_BAD_NETWORK_NAME:         "The specified share name cannot be found on the remote server.",
	STATUS_USER_SESSION_DELETED:     "STATUS_USER_SESSION_DELETED.",
	STATUS_FILE_CLOSED:              "An I/O request other than close and several other special case operations was attempted using a file object that had already been closed.",
	STATUS_PIPE_DISCONNECTED:        "The specified named psipe is in the disconnected state.",
	STATUS_INVALID_PARAMETER:        "An invalid parameter was passed to a service or function.",
	STATUS_OBJECT_NAME_NOT_FOUND:    "The object name is not found.",
	STATUS_PIPE_BROKEN:              "The pipe operation has failed because the other end of the pipe has been closed.",
}
View Source
var UUIDMap = map[string]string{
	SRVSVC_UUID:         "\\PIPE\\srvsvc",
	NTSVCS_UUID:         "\\PIPE\\ntsvcs",
	IID_IObjectExporter: "IID_IObjectExporter",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL