Documentation ¶
Index ¶
Constants ¶
View Source
const ( KF_FLAG_DEFAULT = 0 KF_FLAG_FORCE_APP_DATA_REDIRECTION = 0x00080000 KF_FLAG_RETURN_FILTER_REDIRECTION_TARGET = 0x00040000 KF_FLAG_FORCE_PACKAGE_REDIRECTION = 0x00020000 KF_FLAG_NO_PACKAGE_REDIRECTION = 0x00010000 KF_FLAG_FORCE_APPCONTAINER_REDIRECTION = 0x00020000 // Deprecated KF_FLAG_NO_APPCONTAINER_REDIRECTION = 0x00010000 // Deprecated KF_FLAG_CREATE = 0x00008000 )
Variables ¶
View Source
var ( FOLDERID_System = KNOWNFOLDERID{0x1AC14E77, 0x02E7, 0x4E5D, [8]byte{0xB7, 0x44, 0x2E, 0xB1, 0xAE, 0x51, 0x98, 0xB7}} FOLDERID_RoamingAppData = KNOWNFOLDERID{0x3EB685DB, 0x65F9, 0x4CF6, [8]byte{0xA0, 0x3A, 0xE3, 0xEF, 0x65, 0x72, 0x9F, 0x3D}} )
Functions ¶
func GetStdHandle ¶
GetStdHandle returns a handle to one of stdin/stdout/stderr, which can be inherited by a child process. The caller is responsible for closing the result.
func SHGetKnownFolderPath ¶
func SHGetKnownFolderPath(rfid KNOWNFOLDERID, flags DWORD) (string, error)
Types ¶
type KNOWNFOLDERID ¶
Click to show internal directories.
Click to hide internal directories.