ICertEncodeBitString::GetBitString method

The GetBitString method returns the string of bits in the object's bit string.

Syntax


HRESULT GetBitString(
  [out] BSTR *pbstrBitString
);

Parameters

pbstrBitString [out]

A pointer to a BSTR that will contain the bit string. When you have finished using the BSTR, free it by calling the SysFreeString function.

Return value

C++

If the method succeeds, the method returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

VB

The return value is the bit string.

Examples

For an example that calls the GetBitString method, see the ICertEncodeBitString::Encode method.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Certenc.h (include Certsrv.h)

Library

Certidl.lib

DLL

Certenc.dll

IID

IID_ICertEncodeBitString is defined as 6db525be-1278-11d1-9bd4-00c04fb683fa

See also

ICertEncodeBitString

 

 

Show: