wpLockDrive - Syntax

This method is specific to version 2.1, or higher, of the OS/2 operating system.

This instance method is used to lock or unlock removable media in drives that support this feature.

#define INCL_WINWORKPLACE
#include <os2.h>

WPDisk     *somSelf;       /*  Pointer to the object on which the method is being invoked. */
BOOL        fLock;         /*  Lock flag. */
ULONG       ulReturnCall;  /*  Return code from DosDevIOCtl category 8 Function 40. */

ulReturnCall = _wpLockDrive(somSelf, fLock);


[Back: wpLockDrive]
[Next: wpLockDrive Parameter - somSelf]