Skip to content

NET_SDK_ChangeDiskProperty

Interface Definition

1
2
3
4
BOOL NET_SDK_ChangeDiskProperty(
    LONG lUserID,
    LONG lDiskNumber,
    short newProperty);
1
2
3
4
public static extern Boolean NET_SDK_ChangeDiskProperty(
    Int32 lUserID,
    Int32 lDiskNumber,
    Int16 newProperty);

Function Description

Modify hard disk properties.

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
lDiskNumberin LONG Hard disk number, starting from 0.
newPropertyin short Property value.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code