다음을 통해 공유


InstAPI.GetRegKeyAccessMask(String, UInt32, UInt32) 메서드

정의

지정된 레지스트리 경로를 검색하고 올바른 위치에서 키를 찾을 수 있도록 지정된 액세스 마스크를 수정합니다.

public:
 static bool GetRegKeyAccessMask(System::String ^ registryPath, System::UInt32 desiredAccess, System::UInt32 % accessMask);
public static bool GetRegKeyAccessMask (string registryPath, uint desiredAccess, ref uint accessMask);
static member GetRegKeyAccessMask : string * uint32 * uint32 -> bool
Public Shared Function GetRegKeyAccessMask (registryPath As String, desiredAccess As UInteger, ByRef accessMask As UInteger) As Boolean

매개 변수

registryPath
String

레지스트리 경로를 받기 위한 버퍼에 대한 포인터입니다.

desiredAccess
UInt32

키에 대해 원하는 액세스를 나타내는 UInt32 값입니다.

accessMask
UInt32

RegOpenKeyEx 호출에 사용해야 하는 액세스 마스크입니다.

반환

호출에 성공하면 true이고, 그렇지 않으면 false입니다.

적용 대상