Share via


IVMAccessRights::_GetAccessMask method

The _GetAccessMask method retrieves the access rights as a bitmap.

Syntax

HRESULT _GetAccessMask(
  [in]  const GENERIC_MAPPING *genericMapping,
  [out]       ACCESS_MASK     *accessMask
);

Parameters

genericMapping [in]

A GENERIC_MAPPING structure.

accessMask [out]

The access rights as a bitmap.

Return value

This method can return one of these values.

Return code Description
S_OK
The operation was successful.
E_POINTER
A parameter was NULL.

Remarks

This method returns the access rights of the object as a bitmap. Generic access rights are mapped to specific rights using the information contained in the genericMapping parameter.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IVMAccessRights