mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-10-08 18:10:19 +08:00
setupapi: Do not export the toGo/toWindows functions
This commit is contained in:
@@ -326,7 +326,7 @@ type SP_DRVINFO_DATA struct {
|
||||
DriverVersion uint64
|
||||
}
|
||||
|
||||
func (data *SP_DRVINFO_DATA) ToGo() *DrvInfoData {
|
||||
func (data *SP_DRVINFO_DATA) toGo() *DrvInfoData {
|
||||
return &DrvInfoData{
|
||||
DriverType: data.DriverType,
|
||||
Description: windows.UTF16ToString(data.Description[:]),
|
||||
@@ -373,7 +373,7 @@ type DrvInfoData struct {
|
||||
DriverVersion uint64
|
||||
}
|
||||
|
||||
func (DriverInfoData *DrvInfoData) ToWindows() (data *SP_DRVINFO_DATA, err error) {
|
||||
func (DriverInfoData *DrvInfoData) toWindows() (data *SP_DRVINFO_DATA, err error) {
|
||||
data = &SP_DRVINFO_DATA{
|
||||
DriverType: DriverInfoData.DriverType,
|
||||
DriverDate: DriverInfoData.DriverDate,
|
||||
|
Reference in New Issue
Block a user